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

[COLLECTIONS-806] Continue JUnit v5 #293

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nhojpatrick
Copy link
Contributor

Break Inherifance need for BulkTest constants

TransformedSplitMapTest break inheritance of BulkTest

IteratorIterableTest break inheritance of BulkTest

Break Inheritance need for AbstractObjectTest

Trying to reduce requirement for methods via inheritance, so breaking out common static or helper methods.

@codecov-commenter
Copy link

codecov-commenter commented Mar 17, 2022

Codecov Report

Merging #293 (93b0fd1) into master (f55268b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #293   +/-   ##
=========================================
  Coverage     85.80%   85.80%           
  Complexity     4674     4674           
=========================================
  Files           292      292           
  Lines         13472    13472           
  Branches       1955     1955           
=========================================
  Hits          11560    11560           
  Misses         1332     1332           
  Partials        580      580           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f55268b...93b0fd1. Read the comment docs.

@nhojpatrick nhojpatrick force-pushed the feature/junit-v5-COLLECTIONS-806 branch 3 times, most recently from 1596e50 to 93b0fd1 Compare March 17, 2022 17:57
@garydgregory
Copy link
Member

Hi @nhojpatrick
Please rebase.
TY

Break Inherifance need for BulkTest constants

TransformedSplitMapTest break inheritance of BulkTest

IteratorIterableTest break inheritance of BulkTest

Break Inheritance need for AbstractObjectTest
@nhojpatrick nhojpatrick force-pushed the feature/junit-v5-COLLECTIONS-806 branch from 93b0fd1 to 5201c92 Compare March 18, 2022 17:08
@nhojpatrick
Copy link
Contributor Author

@garydgregory done, tests locally report

[WARNING] Tests run: 16937, Failures: 0, Errors: 0, Skipped: 4

so will look into the JDK 17 failures reported later

@nhojpatrick
Copy link
Contributor Author

@garydgregory EmptyPropertiesTest passes locally on JDK 17, and that class is not touched in this PR so not sure how to fix it.

@garydgregory
Copy link
Member

@garydgregory EmptyPropertiesTest passes locally on JDK 17, and that class is not touched in this PR so not sure how to fix it.

Ask yourself: Does the OS matter? Does the default EOL sequence matter? Does the default Charset matter? What else is different between my environment and the GutHub build environment?

@garydgregory
Copy link
Member

@nhojpatrick maybe b705855 ?

@samabcde
Copy link
Contributor

@nhojpatrick maybe b705855 ?

That commit only fix one of the flaky test,
I previously raised #306
as testStoreToOutputStream() and testStoreToPrintWriter are still flaky but was told superseded

@garydgregory
Copy link
Member

Hello @nhojpatrick
Getting back to this... we no longer depend on JUnit 4 but there might still be clean-ups to do. Please see git master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants