Skip to content

Conversation

@david-crespo
Copy link
Contributor

@david-crespo david-crespo commented Jan 10, 2022

In an initial version of #581, I forgot to update the sled agent OpenAPI JSON, but I did not see a test failure in CI that would have made that obvious because cargo test by default bails on the remaining targets if it gets failures in one target. It took a bunch of work to figure out the issue and fix it in #589.

--no-fail-fast, which turns off that bailing behavior, seems like an obvious improvement. The longest it can make the tests take is however long they take when they pass.

@davepacheco
Copy link
Collaborator

  • pros: find out about all test failures from one run
  • cons: takes longer to find out you broke anything and have to take another lap

I usually only care if I broke anything (so I don't mind the fail-fast behavior). But I'll usually run it locally anyway until it works. I don't really care either way.

@david-crespo david-crespo merged commit 32e2fa3 into main Jan 10, 2022
@david-crespo david-crespo deleted the no-fail-fast branch January 10, 2022 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants