Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/kphp_ci_pipeline_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,8 +438,8 @@ def _calculate_pytest_jobs_count(default_percent: int = 95) -> int:
cmd="KPHP_TESTS_POLYFILLS_REPO={kphp_polyfills_repo} "
"KPHP_CXX={cxx_name} "
"K2_BIN={k2_bin} "
"K2_MONITORING_ABORT_HANGING_GLOBAL_TASK=false "
"K2_MONITORING_ABORT_HANGING_REQUEST_TASK=false "
"K2_MONITORING_REQUEST_TASK_HARD_TIMEOUT=30 "
"K2_MONITORING_GLOBAL_TASK_HARD_TIMEOUT=30 "
"KPHP_TRACKED_BUILTINS_LIST={K2_KPHP_TRACKED_BUILTINS_LIST} "
"python3 -m pytest --basetemp={base_tempdir} --tb=native -n{jobs} {functional_tests_dir}".format(
kphp_polyfills_repo=kphp_polyfills_repo,
Expand Down
2 changes: 1 addition & 1 deletion tests/python/lib/kphp_run_once.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def run_with_kphp_and_k2(self, runs_cnt=1, args=[]):

k2_node_bin = self.k2_bin

cmd = [k2_node_bin, "run-once", "--image", os.path.join(self._kphp_build_tmp_dir, "component.so"), "--runs-count={}".format(runs_cnt), "--crypto", "--instance-cache"] + args
cmd = [k2_node_bin, "run-once", "--image", os.path.join(self._kphp_build_tmp_dir, "component.so"), "--runs-count={}".format(runs_cnt), "--crypto", "--instance-cache", "--task-hard-timeout", "30"] + args

env = os.environ.copy()
if "RUST_LOG" not in env:
Expand Down
Loading