|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [XM-TEST] Tweak 06_block-destroy_check_li
# HG changeset patch
# User Steven Hand <steven@xxxxxxxxxxxxx>
# Date 1167923320 0
# Node ID b82e1ed0870a9a3627e910686dc34d78185d584e
# Parent b071319927b6d939bc119666f24ed34acd1bd587
[XM-TEST] Tweak 06_block-destroy_check_list_pos to allow more time to check
block device has gone away from point of view of domain sxp.
Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx>
---
tools/xm-test/tests/block-destroy/06_block-destroy_check_list_pos.py | 8
++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff -r b071319927b6 -r b82e1ed0870a
tools/xm-test/tests/block-destroy/06_block-destroy_check_list_pos.py
--- a/tools/xm-test/tests/block-destroy/06_block-destroy_check_list_pos.py
Thu Jan 04 14:25:58 2007 +0000
+++ b/tools/xm-test/tests/block-destroy/06_block-destroy_check_list_pos.py
Thu Jan 04 15:08:40 2007 +0000
@@ -6,7 +6,7 @@ from XmTestLib import *
from XmTestLib import *
from XmTestLib.block_utils import *
-import re
+import re, time
def checkXmLongList(domain):
s, o = traceCommand("xm list --long %s" % domain.getName())
@@ -35,4 +35,8 @@ block_detach(domain, "xvda1")
block_detach(domain, "xvda1")
if checkXmLongList(domain):
- FAIL("xm long list does not show that xvda1 was removed")
+ # device info is removed by hotplug scripts - give them a chance
+ # to fire (they run asynchronously with us).
+ time.sleep(1)
+ if checkXmLongList(domain):
+ FAIL("xm long list does not show that xvda1 was removed")
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [XM-TEST] Tweak 06_block-destroy_check_list_pos to allow more time to check,
Xen patchbot-unstable <=
|
|
|
|
|