Skip to content

Commit 1586cf7

Browse files
Apply suggestions from code review
Co-authored-by: Alex Mazzeo <alex.mazzeo@outlook.com>
1 parent 63d5ae4 commit 1586cf7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crates/sdk-core/src/core_tests/workers.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,11 +1384,11 @@ async fn nexus_shutdown_does_not_hang_when_pending_completion_is_cancelled() {
13841384
.await
13851385
.expect_err("poll should wait for the outstanding Nexus task");
13861386

1387-
// Send completion that we know will hang indefinitely before notifying waitiers
1387+
// Send completion that we know will hang indefinitely before notifying waiters
13881388
let mut completion =
13891389
Box::pin(worker.complete_nexus_task(create_test_nexus_completion(nexus_task.task_token())));
13901390

1391-
// Wait for the completion to start then drop it before notify_waitiers is triggered
1391+
// Wait for the completion to start then drop it before notify_waiters is triggered
13921392
// Use select so the completion future is polled and completion actually starts
13931393
tokio::select! {
13941394
_ = completion_rpc_started.wait() => {}

0 commit comments

Comments
 (0)