changeset 168:11b7e1fa7aff

fix
author am@osimis.io
date Fri, 31 Aug 2018 10:35:09 +0200
parents 3b1bfbe960c9
children 85a2074f8794
files PerfsDb/Tests/Statistics.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/PerfsDb/Tests/Statistics.py	Fri Aug 31 10:33:03 2018 +0200
+++ b/PerfsDb/Tests/Statistics.py	Fri Aug 31 10:35:09 2018 +0200
@@ -13,7 +13,7 @@
 
     def beforeAll(self):
         # on large DB, statistics may be very  slow so we don't want to repeat it 30 times !
-        self.repeatCount = max(int(self.repeatCount) / 10, 1)
+        self.repeatCount = int(max(int(self.repeatCount) / 10, 1))
 
     def afterAll(self):
         print("Statistics:" + json.dumps(self._statistics))
\ No newline at end of file