-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate flakey Couch DB test #4462
Comments
@scottbell Do you mind taking a look? |
I'll take a look and see if I can work out what's going on. I was able to replicate it locally before the CouchDB change by checking out a previous commit:
I suspect there's a timing issue going on here, but unclear where. |
I think I found a clue. It seems OpenMCT thinks the object is already persisted between tests, even though we're resetting OpenMCT between tests:
Perhaps |
One
and in
These |
Ok, I think I know what's going on. Per the above 👆 comment, whenever one calls
But I'm wondering if we've discovered a bug. Namely, are we doing the right thing with What do you think @akhenry? |
@shefalijoshi this can be closed per our discussion. |
Closing. |
Summary
A test that was recently modified for the Couch DB plugin has started failing randomly. Although it passed automated tests when originally merged, it subsequently failed in master, and then failed in other pull requests after then merged from master. Some investigation is needed to understand why it's failing.
Steps to Reproduce
git checkout master
npm run test
The text was updated successfully, but these errors were encountered: