Skip to content
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

[e2e][couchDB] False negatives due to expected 404 console error from CouchDB on initialization #5964

Open
ozyx opened this issue Nov 9, 2022 · 1 comment
Labels
type:maintenance tests, chores, or project maintenance

Comments

@ozyx
Copy link
Contributor

ozyx commented Nov 9, 2022

Summary

When running our CouchDB e2e tests in CI, the first test ran will always fail due to detected 404 console error from CouchDB (if failOnConsoleError is enabled). We expect this to happen, because we are starting with a fresh openmct database where the mine folder has not yet been created. The initial attempt to find the mine folder results in a 404, which triggers the creation of the folder within the myItemsInterceptor.

The current solution is to disable failOnConsoleError for CouchDB tests, but this potentially masks any real (unexpected) errors that may arise. We should look into ways to mitigate the generation of this error on the e2e side, such as starting from some baseline database, or ensuring that a certain test runs first, or creating the folder in some kind of before hook.

@ozyx ozyx added the type:maintenance tests, chores, or project maintenance label Nov 9, 2022
@akhenry
Copy link
Contributor

akhenry commented Nov 10, 2022

FYI, Yamcs produces tons of 404s as part of normal operations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:maintenance tests, chores, or project maintenance
Projects
None yet
Development

No branches or pull requests

2 participants