Skip to content

Commit 6dce9c5

Browse files
committed
Fix flake in post_terminal_commands_are_retained_when_not_replaying
1 parent bcc67ae commit 6dce9c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/src/core_tests/workflow_tasks.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2528,7 +2528,7 @@ async fn post_terminal_commands_are_retained_when_not_replaying() {
25282528
]);
25292529
_do_post_terminal_commands_test(
25302530
commands_sent_by_lang,
2531-
[ResponseType::ToTaskNum(1), ResponseType::AllHistory],
2531+
[ResponseType::ToTaskNum(1)],
25322532
expected_command_types_emitted,
25332533
t,
25342534
)
@@ -2602,14 +2602,14 @@ async fn _do_post_terminal_commands_test(
26022602

26032603
let act = core.poll_workflow_activation().await.unwrap();
26042604

2605-
core.initiate_shutdown();
26062605
core.complete_workflow_activation(WorkflowActivationCompletion::from_cmds(
26072606
act.run_id,
26082607
commands_sent_by_lang,
26092608
))
26102609
.await
26112610
.unwrap();
26122611

2612+
core.initiate_shutdown();
26132613
let act = core.poll_workflow_activation().await;
26142614
assert_matches!(act.unwrap_err(), PollError::ShutDown);
26152615
core.shutdown().await;

0 commit comments

Comments
 (0)