Update test 01_pause for new console behavior
PATCH 1/1 Update test 01_pause for new console behavior
This patch fixes the 01_pause test that started breaking when I recently changed the console attach behavior. We clearly need to not fail if the console fails to attach to a paused domain.
# HG changeset patch
# User [email protected]
# Node ID b3f0df7c3b1a6d9ffa0f05a588d50c122734a554 # Parent 89b1a2e54bafe21642ff227e0b7155cbd626f098 Update 01_pause_basic test for new console behavior.
tools/xm-test/tests/pause/01_pause_basic_pos.py +1 -4
@@ -49,12 +49,9 @@ if status != 0: FAIL("xm pause returned invalid %i != 0", status) -# Attach a console to it +# Try to attach a console to it try: console = XmConsole(domain.getName(), historySaveCmds=True) -except ConsoleError, e: - FAIL(str(e)) -try: run = console.runCmd("ls") #If we get here, console attached to paused domain (unexpected) FAIL("console attached to supposedly paused domain")
Signature · 4 lines
Dan Smith IBM Linux Technology Center Open Hypervisor Team email: [email protected]
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Ewan Mellor
AppliedQuoted 5 lines · Dan Smith
This patch fixes the 01_pause test that started breaking when I recently changed the console attach behavior. We clearly need to not fail if the console fails to attach to a paused domain.
Signed-off-by Dan Smith <[email protected]>
Applied, thanks.
Ewan.