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

Multiple (aggregated) tests.report are uploaded during a single build #402

Open
beatngu13 opened this issue Sep 5, 2019 · 0 comments
Open
Labels
bug Something isn't working

Comments

@beatngu13
Copy link
Contributor

Each time RecheckImpl#cap() is being invoked, we trigger CloudPersistence#save(...) and upload the aggregated tests.report to rehub. Suppose there are 10 tests classes, each consisting of 3 test methods. If cap() is called @AfterEach as usual, then we get 10 * 3 = 30 reports (all named tests.report) uploaded to rehub, although only the last one is interesting.

This is because we are not aware of when all tests have been finished. A simple solution could be to create some sort of ID (which is stable as long as the JVM lives, such as a static UUID) when the first test has been started and then send this as meta data.

@beatngu13 beatngu13 added the bug Something isn't working label Sep 5, 2019
@varlog23 varlog23 assigned varlog23 and unassigned varlog23 Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants