unfix (conf.timeSec is an integer - my fault)

This commit is contained in:
Miroslav Stampar 2010-05-13 09:34:08 +00:00
parent 2323d858a9
commit 0a4c1f8aec

View File

@ -45,7 +45,7 @@ def stackedTest():
query = getDelayQuery() query = getDelayQuery()
start = time.time() start = time.time()
payload, _ = inject.goStacked(query) payload, _ = inject.goStacked(query)
duration = time.time() - start duration = int(time.time() - start)
if duration >= conf.timeSec: if duration >= conf.timeSec:
infoMsg = "the web application supports stacked queries " infoMsg = "the web application supports stacked queries "