ci: avoid using pouchdb-server in testing#9202
Closed
espy wants to merge 1 commit intoapache:masterfrom
Closed
Conversation
0fe3883 to
9121490
Compare
Destroying databases is flaky in pouchdb-server
9121490 to
ae896c8
Compare
Contributor
Author
|
So this all seems to work very well now, but the Github PR UI is stuck with a pending test that no longer exist because we renamed a command. The tests all pass in CI, but because we want the PR to be green too, I’m going to close this and open a new one on the same branch. |
5 tasks
Contributor
Author
|
New PR is #9204 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Destroying databases is flaky in pouchdb-server
Overview
PouchDB integration tests were very flaky, with random timeouts. We (NH) identified this being caused by an issue with
pouchdb-server, where thedestroy()method used to clean up test DBs didn’t actually remove the test databases. The tests no longer seem to time out when using a CouchDB viaCOUCHD_HOSTinstead ofpouchdb-server. This PR changes the CI setup so we can verify this assumption by running the CI repeatedly.We moved the node PERF tests out into their own
nodejs-perfJob , since our changes conflicted with that particular bit of thenodejob.We’re also trying out randomly selecting Ubuntu mirrors other than the terribly slow Azure one, see actions/runner-images#7048 (comment)
Testing recommendations
We want to re-run the test suite multiple times to se whether the timeouts are resolved, and if so, submit this as a fix.
Checklist
docsfolder