Fix console runaway detection for the smallmem_neg test, following the changes

to have Console included as part of the Domain object.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
emellor@leeni.uk.xensource.com committed 2006-05-07 14:00:05 +01:00
1 parent aed92ee453
commit 5afd6596ba
1 file changed
+1 -3
@@ -14,11 +14,9 @@ domain = XmTestDomain(extraConfig={"memory": MEM,
try:
console = domain.start()
console.runCmd("ls")
except DomainError, e:
FAIL("Unable to start a domain with %i MB" % MEM)
try:
console.runCmd("ls")
except ConsoleError, e:
if e.reason == RUNAWAY:
print "Domain with %i MB has runaway console as expected" % MEM
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.