-
Notifications
You must be signed in to change notification settings - Fork 25
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
Restore Code coverage - including webSocket and StaandardIO tests #313
Comments
seems not due to Sonar upgrade but to the added tests on the Runner main class for WebSocket and StandardIo. If i disable them I have coverage reported locally. |
Signed-off-by: Aurélien Pupier <apupier@redhat.com>
- add back Jacoco configuration - now Sonar requires the xml report to be generated, it means that we need to launch verify phase instead of test - excluding 2 tests from coverage, they are playing and it is causing Jacoco to not report any coverage 90% of the time. This look alike a bug in Jacoco, will need to qualify and report it. So this PR is adding back coverage of the 232 tests over the 238 existing. This is not yet perfect but better than 0. Signed-off-by: Aurélien Pupier <apupier@redhat.com>
Signed-off-by: Aurélien Pupier <apupier@redhat.com>
- add back Jacoco configuration - now Sonar requires the xml report to be generated, it means that we need to launch verify phase instead of test - excluding 2 tests from coverage, they are playing and it is causing Jacoco to not report any coverage 90% of the time. This look alike a bug in Jacoco, will need to qualify and report it. So this PR is adding back coverage of the 232 tests over the 238 existing. This is not yet perfect but better than 0. Signed-off-by: Aurélien Pupier <apupier@redhat.com>
forgot to remove some modifications done during investigations Signed-off-by: Aurélien Pupier <apupier@redhat.com>
forgot to remove some modifications done during investigations Signed-off-by: Aurélien Pupier <apupier@redhat.com>
forgot to remove some modifications done during investigations Signed-off-by: Aurélien Pupier <apupier@redhat.com>
forgot to remove some modifications done during investigations Signed-off-by: Aurélien Pupier <apupier@redhat.com>
coverage is currently reported without tests on the Runner main class for WebSocket and StandardIo |
wondering if it wasn't caused by some Thread that were leftover: camel-language-server/src/test/java/com/github/cameltooling/lsp/internal/RunnerStandardIOTest.java Line 56 in 8c8333e
|
remaining threads could cause problem Signed-off-by: Aurélien Pupier <apupier@redhat.com>
remaining threads could cause problem Signed-off-by: Aurélien Pupier <apupier@redhat.com>
ensure threads are finished when test is finished as remaining threads could cause problem Signed-off-by: Aurélien Pupier <apupier@redhat.com>
due to an upgrade in SonarCloud, we lost the code coverage. We need to find how to reenable it.
The text was updated successfully, but these errors were encountered: