ci: avoid using pouchdb-server in testing, v2#9204
Closed
espy wants to merge 1 commit intoapache:masterfrom
Closed
ci: avoid using pouchdb-server in testing, v2#9204espy wants to merge 1 commit intoapache:masterfrom
espy wants to merge 1 commit intoapache:masterfrom
Conversation
Destroying databases is flaky in pouchdb-server
5 tasks
Contributor
Author
|
Well, turns out opening a new PR on the same branch does not jolt Github into doing the correct thing in the CI UI 🙄 Will make one more attempt with a new branch. |
5 tasks
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. This PR supersedes #9202
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