Add trusted header auth and publisher shell
This commit is contained in:
parent
89e6a4d78c
commit
96551c2788
8 changed files with 569 additions and 19 deletions
|
|
@ -781,7 +781,9 @@ def test_job_runtime_start_reattaches_live_worker_after_app_restart(
|
|||
assert running_execution.running_status == JobExecutionStatus.RUNNING
|
||||
assert running_execution.ended_at is None
|
||||
|
||||
completed_execution = _wait_for_terminal_execution(int(execution.get_id()))
|
||||
completed_execution = _wait_for_terminal_execution(
|
||||
int(execution.get_id()), timeout_seconds=10.0
|
||||
)
|
||||
assert completed_execution.running_status == JobExecutionStatus.SUCCEEDED
|
||||
assert "reattached" in artifacts.log_path.read_text(encoding="utf-8")
|
||||
finally:
|
||||
|
|
@ -861,7 +863,9 @@ def test_job_runtime_start_restores_live_worker_marked_failed_by_restart_bug(
|
|||
assert restored_execution.running_status == JobExecutionStatus.RUNNING
|
||||
assert restored_execution.ended_at is None
|
||||
|
||||
completed_execution = _wait_for_terminal_execution(int(execution.get_id()))
|
||||
completed_execution = _wait_for_terminal_execution(
|
||||
int(execution.get_id()), timeout_seconds=10.0
|
||||
)
|
||||
assert completed_execution.running_status == JobExecutionStatus.SUCCEEDED
|
||||
assert "restored execution state" in artifacts.log_path.read_text(
|
||||
encoding="utf-8"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue