Browse Source

new attempt to fix test failure not reproducible on local win64 environment (save_prev option)

Greg Junkietech 4 years ago
parent
commit
e0d13e18ec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      metrixpp/tests/general/test_basic.py

+ 1 - 1
metrixpp/tests/general/test_basic.py

@@ -247,7 +247,7 @@ class Test(tests.common.TestCase):
                                          use_prev=True)
                                          use_prev=True)
         self.assertExec(runner.run())
         self.assertExec(runner.run())
 
 
-        runner = tests.common.ToolRunner('collect', ['--std.code.complexity.cyclomatic', '--std.code.lines.code'], save_prev=False)
+        runner = tests.common.ToolRunner('collect', ['--std.code.complexity.cyclomatic', '--std.code.lines.code'], save_prev=True)
         self.assertExec(runner.run())
         self.assertExec(runner.run())
 
 
         runner = tests.common.ToolRunner('view', ['--format=prometheus'], prefix='prometheus')
         runner = tests.common.ToolRunner('view', ['--format=prometheus'], prefix='prometheus')