mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-21 10:52:22 +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,
|
||||
true,
|
||||
nnicindexes, nicindexes,
|
||||
"highpriority.slice", 0) < 0) {
|
||||
"highpriority.slice", 2) < 0) {
|
||||
fprintf(stderr, "%s", "Failed to create LXC machine\n");
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user