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

[DRAFT Backport 2.11] Minor comments follow up for integration tests #3752

Closed
wants to merge 2 commits into from

Conversation

cwperks
Copy link
Member

@cwperks cwperks commented Nov 20, 2023

There have been issues with long-running CI on the 2.11 branch. I am opening a Draft PR to backport #3427 to determine if the reason for longer running CI is because this PR was backported to 2.x, but is not in 2.11.

cwperks and others added 2 commits November 20, 2023 14:43
Signed-off-by: Craig Perkins <cwperx@amazon.com>
- Remove an unused JVM setting for integration tests
- Fixed an issue where you couldn't run non-resource tests unless you
had CI_ENVIRONMENT set to normal on your machine (Already fixed in main)
- Fixed an issue where code coverage was always run after tests
completed (Already fixed in main)

- Related opensearch-project#3388

Signed-off-by: Peter Nied <petern@amazon.com>
Copy link

codecov bot commented Nov 20, 2023

Codecov Report

Merging #3752 (94b9349) into 2.11 (1d46ba6) will decrease coverage by 0.19%.
Report is 2 commits behind head on 2.11.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               2.11    #3752      +/-   ##
============================================
- Coverage     64.86%   64.68%   -0.19%     
+ Complexity     3613     3527      -86     
============================================
  Files           273      273              
  Lines         20024    20054      +30     
  Branches       3346     3348       +2     
============================================
- Hits          12989    12972      -17     
- Misses         5389     5410      +21     
- Partials       1646     1672      +26     

see 25 files with indirect coverage changes

@@ -398,8 +398,6 @@ tasks.withType(JavaCompile) {
}

tasks.test.finalizedBy(jacocoTestReport) // report is always generated after tests run
tasks.jacocoTestReport.dependsOn(test) // tests are required to run before generating the report
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This long could be causing the slowdown because all tasks are finalized by jacocoTestReport and jacocoTestReport depends on test

@cwperks cwperks closed this Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants