File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
core/src/main/kotlin/org/evomaster/core/output/service Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -290,6 +290,9 @@ class RestTestCaseWriter : HttpWsTestCaseWriter {
290
290
lines.append(" , data=body" )
291
291
}
292
292
if (config.testTimeout > 0 ) {
293
+ /*
294
+ As timeout at test level does not work reliably in Python, we do timeout as well in each HTTP call.
295
+ */
293
296
lines.append(" , timeout=${config.testTimeout} " )
294
297
}
295
298
}
Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ abstract class TestCaseWriter {
347
347
if (config.testTimeout > 0 ) {
348
348
lines.add(" except TimeoutError as e:" )
349
349
lines.indented {
350
- lines.add(" unittest.skip( \" Test skipped due to timeout \" ) " )
350
+ lines.add(" pass " )
351
351
}
352
352
}
353
353
}
You can’t perform that action at this time.
0 commit comments