浏览代码

Fixes stress suite run

Ask Solem 12 年之前
父节点
当前提交
2f516fa1fa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      funtests/stress/stress/suite.py

+ 1 - 1
funtests/stress/stress/suite.py

@@ -78,7 +78,7 @@ class Suite(object):
         if list_all:
             return print(self.testlist(tests))
         print(self.banner(tests))
-        it = count() if repeat == float('Inf') else range(int(repeat))
+        it = count() if repeat == float('Inf') else range(int(repeat) + 1)
         for i in it:
             marker(
                 'Stresstest suite start (repetition {0})'.format(i + 1),