Skip to content

Commit 83a1f66

Browse files
committed
Auto merge of #11210 - epage:publish, r=weihanglo
refactor(tests): Prepare for wait-for-publish test changes In #11062, we are updating `cargo publish` to wait until a package is published. The problem is a lot of our tests will block until the timeout. In finding the tests to update, I was originally relying on test failures from the extra output when timing out. The problem is not all tests verify the test output so they don't fail. This tries to update the tests to make the introduction of a timeout more obvious. - Adding `with_stderr` where it wasn't before - Moving away from `with_stderr_contains` for publish tests To help with that, I made the predicates on cargo commands more consistent. I also moved descriptions of tests to be outside of the test so I can more easily document the `registry::init` calls with what we are doing.
2 parents 8e740bb + 08df53b commit 83a1f66

File tree

1 file changed

+168
-22
lines changed

1 file changed

+168
-22
lines changed

0 commit comments

Comments
 (0)