Skip to content

Commit

Permalink
test(publish): Require extra waits
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Nov 2, 2022
1 parent 6998fb3 commit d87966b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testsuite/publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2579,7 +2579,7 @@ fn wait_for_subsequent_publish() {
let mut lock = arc.lock().unwrap();
*lock += 1;
// if the package name contains _ or -
if *lock <= 1 {
if *lock <= 2 {
server.not_found(req)
} else {
server.index(req)
Expand Down Expand Up @@ -2628,7 +2628,7 @@ See [..]

// Verify the responder has been pinged
let lock = arc2.lock().unwrap();
assert_eq!(*lock, 2);
assert_eq!(*lock, 3);
drop(lock);

let p = project()
Expand Down

0 comments on commit d87966b

Please sign in to comment.