-
Notifications
You must be signed in to change notification settings - Fork 205
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
tests: Use separate databases for unstable tests #4295
tests: Use separate databases for unstable tests #4295
Conversation
Hm, this might delete coverage data from previous tests, e.g. in We would have to add the test file name to the suffix |
We only have one db per job. |
af1c34d
to
af2e608
Compare
What I mean is not
Here the coverdb directory is |
af2e608
to
5911940
Compare
5911940
to
76d5ff8
Compare
For the record: build-docs / tools/build-docs-ci
unstable / Persisting to workspace
|
So the test coverage from unstable tests will no longer show up in the normal coverage report? And don't we need the same for |
it will. All directories called
in those we only execute one test, in unstable currently three. |
the current PR description is a bit confusing. the directory just changes to a directory per test file name, which will allow individual deletion without deleting the data of the other tests. that will be done in the followup #4299 |
Good.
Not sure what you mean by for-loop. We set the |
The problem is that we don't delete coverage data for failing tests, when we retry. So, we have to delete coverage if we retry. The problem with unstable is that we run All those three tests write their coverage in test1.t suceeds Now, if test2.t would delete This PR makes sure that in the case we run tools/retry in such a for loop every test file gets their own directory, e.g. |
To clarify, |
Now I understand it but the change suggested by @perlpunk is still required. |
This prevents failing and passing re-runs from being merged and allows individual databases to be inspected or dropped. See: https://progress.opensuse.org/issues/99594
76d5ff8
to
648acf8
Compare
Codecov Report
@@ Coverage Diff @@
## master #4295 +/- ##
==========================================
- Coverage 97.95% 97.94% -0.01%
==========================================
Files 370 370
Lines 33488 33488
==========================================
- Hits 32803 32801 -2
- Misses 685 687 +2
Continue to review full report at Codecov.
|
This prevents failing and passing re-runs from being merged and allows individual databases to be inspected or dropped.
See: https://progress.opensuse.org/issues/99594