fix(runner): lower harbor repair schedule pressure [skip ci]
This commit is contained in:
@@ -122,7 +122,7 @@ def test_harbor_110_local_repair_workflow_is_dispatch_only_and_bounded() -> None
|
||||
|
||||
assert "workflow_dispatch:" in text
|
||||
assert "schedule:" in text
|
||||
assert 'cron: "*/10 * * * *"' in text
|
||||
assert 'cron: "17 * * * *"' in text
|
||||
assert "push:" not in text
|
||||
assert "pull_request:" not in text
|
||||
assert "pull_request_target:" not in text
|
||||
@@ -135,7 +135,6 @@ def test_harbor_110_local_repair_workflow_is_dispatch_only_and_bounded() -> None
|
||||
assert "sudo -n env" in text
|
||||
assert "AWOOOI_110_SSH_TARGET" in text
|
||||
assert "BatchMode=yes" in text
|
||||
assert "ConnectTimeout=8" in text
|
||||
assert 'SSH_PROBE_ATTEMPTS="${AWOOOI_110_SSH_PROBE_ATTEMPTS:-6}"' in text
|
||||
assert (
|
||||
'SSH_PROBE_SLEEP_SECONDS="${AWOOOI_110_SSH_PROBE_SLEEP_SECONDS:-10}"'
|
||||
@@ -143,6 +142,10 @@ def test_harbor_110_local_repair_workflow_is_dispatch_only_and_bounded() -> None
|
||||
)
|
||||
assert "else\n rc=$?" in text
|
||||
assert "harbor_110_remote_ssh_probe_attempt=" in text
|
||||
assert 'AWOOOI_110_SSH_CONNECT_TIMEOUT_SECONDS: "3"' in text
|
||||
assert 'AWOOOI_110_SSH_COMMAND_TIMEOUT_SECONDS: "12"' in text
|
||||
assert 'ConnectTimeout="${AWOOOI_110_SSH_CONNECT_TIMEOUT_SECONDS}"' in text
|
||||
assert 'timeout "${AWOOOI_110_SSH_COMMAND_TIMEOUT_SECONDS}"' in text
|
||||
assert "operation_boundary_remote_ssh_bounded=true" in text
|
||||
assert "harbor_110_remote_control_channel_unavailable" in text
|
||||
assert "harbor_110_remote_repair_check_start=1" in text
|
||||
|
||||
Reference in New Issue
Block a user