From 7b8f78a3afcb51f74cc81b69226a3c49a49f0b9b Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 10 Mar 2021 14:37:56 +0100 Subject: [PATCH] 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 Reviewed-by: Pavel Hrdina --- tests/virsystemdtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/virsystemdtest.c b/tests/virsystemdtest.c index b48cdb950c..c082b95732 100644 --- a/tests/virsystemdtest.c +++ b/tests/virsystemdtest.c @@ -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; }