提交 b60a1185 编写于 作者: J Jiri Denemark

qemumigparamstest: Add basic test data

Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
Reviewed-by: NJán Tomko <jtomko@redhat.com>
上级 40b186de
{
"compress-level": 1,
"compress-threads": 8,
"decompress-threads": 2,
"cpu-throttle-initial": 20,
"cpu-throttle-increment": 10,
"max-bandwidth": 33554432,
"downtime-limit": 300
}
{
"id": "libvirt-1",
"return": {
"decompress-threads": 2,
"cpu-throttle-increment": 10,
"compress-threads": 8,
"compress-level": 1,
"cpu-throttle-initial": 20,
"max-bandwidth": 33554432,
"downtime-limit": 300
}
}
<test>
<migParams>
<param name='compress-level' value='1'/>
<param name='compress-threads' value='8'/>
<param name='decompress-threads' value='2'/>
<param name='cpu-throttle-initial' value='20'/>
<param name='cpu-throttle-increment' value='10'/>
<param name='max-bandwidth' value='33554432'/>
<param name='downtime-limit' value='300'/>
</migParams>
</test>
{
"id": "libvirt-1",
"return": {
}
}
<test>
<migParams>
</migParams>
</test>
...@@ -228,6 +228,8 @@ mymain(void) ...@@ -228,6 +228,8 @@ mymain(void)
} while (0) } while (0)
DO_TEST("unsupported"); DO_TEST("unsupported");
DO_TEST("empty");
DO_TEST("basic");
qemuTestDriverFree(&driver); qemuTestDriverFree(&driver);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册