tests: fix node variant selection 77/36777/2
authorBenoît Ganne <bganne@cisco.com>
Fri, 29 Jul 2022 08:52:34 +0000 (10:52 +0200)
committerBeno�t Ganne <bganne@cisco.com>
Fri, 5 Aug 2022 12:05:32 +0000 (12:05 +0000)
Type: fix
Fixes: 4830e4f78fb8e46b23a1a0711cd06969a77d8d95

Change-Id: Iddc73dbda633acd72bd82e52f8ae83c17e3940f6
Signed-off-by: Benoît Ganne <bganne@cisco.com>
test/framework.py

index 05e59b5..bfcc030 100644 (file)
@@ -394,7 +394,7 @@ class VppTestCase(CPUInterface, unittest.TestCase):
             coredump_size = "coredump-size unlimited"
         default_variant = config.variant
         if default_variant is not None:
-            default_variant = "defaults { %s 100 }" % default_variant
+            default_variant = "default { variant %s 100 }" % default_variant
         else:
             default_variant = ""