diff --git a/.github/workflows/integration_test.yml b/.github/workflows/integration_test.yml index 9e6c52c9..256cbfec 100644 --- a/.github/workflows/integration_test.yml +++ b/.github/workflows/integration_test.yml @@ -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 - diff --git a/tests/test_runner.py b/tests/test_runner.py index fe44ff2b..ab9f4805 100644 --- a/tests/test_runner.py +++ b/tests/test_runner.py @@ -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 = [