|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Fix the reporting when this test fails (the eyecatcher v
# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID b21b476f5cb795e07e3393f2dc8bff9f649dfd78
# Parent 69df979de1a7c055fb62564101b853e5456fa3b5
Fix the reporting when this test fails (the eyecatcher variables would not be
created if the domain creation actually succeeded). Use total_memory not
free_memory to determine how big to make the domain -- when ballooning down of
dom0 works properly, creating a domain larger than free_memory is possible.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
diff -r 69df979de1a7 -r b21b476f5cb7
tools/xm-test/tests/create/06_create_mem_neg.py
--- a/tools/xm-test/tests/create/06_create_mem_neg.py Wed Nov 30 18:48:27 2005
+++ b/tools/xm-test/tests/create/06_create_mem_neg.py Wed Nov 30 18:55:09 2005
@@ -31,6 +31,7 @@
try:
domain1.start()
+ eyecatcher1 = "Created"
except DomainError, e:
eyecatcher1 = "Fail"
@@ -41,7 +42,7 @@
# Test 2: create a domain with mem>sys_mem
-mem = int(getInfo("free_memory"))
+mem = int(getInfo("total_memory"))
extreme_mem = str(mem + 100)
opts2= {
@@ -56,6 +57,7 @@
try:
domain2.start()
+ eyecatcher2 = "Created"
except DomainError, e:
eyecatcher2 = "Fail"
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Fix the reporting when this test fails (the eyecatcher variables would not be,
Xen patchbot -unstable <=
|
|
|
|
|