fix: github action scripts

This commit is contained in:
debugtalk
2020-04-13 00:03:37 +08:00
parent 55078099f3
commit 8251c21ce1
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -30,7 +30,10 @@ jobs:
poetry build
ls dist/*.whl | xargs pip install # test installation
hrun -V
locusts -V
hrun run -h
hrun startproject -h
hrun har2case -h
hrun locusts -h
- name: Run smoketest for hrun command
run: |
cd tests/httpbin && hrun run basic.yml --failfast && cd -
+1 -1
View File
@@ -83,7 +83,7 @@ class TestRunner(ApiServerUnittest):
test_runner.run_test(parsed_testcase["teststeps"][0])
end_time = time.time()
# testcase teardown hook has not been executed now
self.assertLess(end_time - start_time, 1)
self.assertLess(end_time - start_time, 2)
def test_run_testcase_with_hooks_assignment(self):
testcases = [