Skip to content

Commit

Permalink
Tests fix
Browse files Browse the repository at this point in the history
  • Loading branch information
squadgazzz committed Dec 2, 2024
1 parent c96bbca commit 3705940
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/driver/src/tests/cases/settle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ async fn discards_excess_settle_requests() {
// are fine with that to avoid huge changes in the framework.
1 | 2 => result.err().kind("FailedToSubmit"),
// Driver's settlement queue max size is 3. Next requests should be discarded.
3 => result.err().kind("QueueAwaitingDeadlineExceeded"),
4 => result.err().kind("QueueAwaitingDeadlineExceeded"),
3 => result.err().kind("DeadlineExceeded"),
4 => result.err().kind("DeadlineExceeded"),
_ => unreachable!(),
}
}
Expand Down Expand Up @@ -236,7 +236,7 @@ async fn accepts_new_settle_requests_after_timeout() {
// are fine with that to avoid huge changes in the framework.
1 | 2 => result.err().kind("FailedToSubmit"),
// Driver's settlement queue max size is 3. Next requests should be discarded.
3 => result.err().kind("QueueAwaitingDeadlineExceeded"),
3 => result.err().kind("DeadlineExceeded"),
_ => unreachable!(),
}
}
Expand Down

0 comments on commit 3705940

Please sign in to comment.