mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
virsystemdtest: Call at least one virSystemdCreateMachine with 'maxthreads' > 0
There was a bug in the code adding TasksMax property. It remained undetected because all tests used '0' for @maxthreads. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
07c6e493b2
commit
7b8f78a3af
@ -313,7 +313,7 @@ static int testCreateNetwork(const void *opaque G_GNUC_UNUSED)
|
|||||||
123,
|
123,
|
||||||
true,
|
true,
|
||||||
nnicindexes, nicindexes,
|
nnicindexes, nicindexes,
|
||||||
"highpriority.slice", 0) < 0) {
|
"highpriority.slice", 2) < 0) {
|
||||||
fprintf(stderr, "%s", "Failed to create LXC machine\n");
|
fprintf(stderr, "%s", "Failed to create LXC machine\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user