changeset 167:3b1bfbe960c9

fix
author am@osimis.io
date Fri, 31 Aug 2018 10:33:03 +0200
parents 7d39adee9f88
children 11b7e1fa7aff
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:31:15 2018 +0200
+++ b/PerfsDb/Tests/Statistics.py	Fri Aug 31 10:33:03 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(self.repeatCount / 10, 1)
+        self.repeatCount = max(int(self.repeatCount) / 10, 1)
 
     def afterAll(self):
         print("Statistics:" + json.dumps(self._statistics))
\ No newline at end of file