Skip to content

Commit d87966b

Browse files
committed
test(publish): Require extra waits
1 parent 6998fb3 commit d87966b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testsuite/publish.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2579,7 +2579,7 @@ fn wait_for_subsequent_publish() {
25792579
let mut lock = arc.lock().unwrap();
25802580
*lock += 1;
25812581
// if the package name contains _ or -
2582-
if *lock <= 1 {
2582+
if *lock <= 2 {
25832583
server.not_found(req)
25842584
} else {
25852585
server.index(req)
@@ -2628,7 +2628,7 @@ See [..]
26282628

26292629
// Verify the responder has been pinged
26302630
let lock = arc2.lock().unwrap();
2631-
assert_eq!(*lock, 2);
2631+
assert_eq!(*lock, 3);
26322632
drop(lock);
26332633

26342634
let p = project()

0 commit comments

Comments
 (0)