Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information