Skip to content

Conversation

@wirew0rm
Copy link
Member

Add some more timeouts. By default there is no timeout on junit's lifecycle methods and they also do not use the @Timeoutfrom the class and if they block, the gh actions step will block for the whole 6h and only then report back the cause of the issue.

@wirew0rm wirew0rm temporarily deployed to configure coverage March 31, 2021 07:14 Inactive
@wirew0rm wirew0rm had a problem deploying to configure coverage March 31, 2021 07:14 Failure
@codecov
Copy link

codecov bot commented Mar 31, 2021

Codecov Report

Merging #80 (49b6bfc) into main (02b03a2) will decrease coverage by 0.17%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##               main      #80      +/-   ##
============================================
- Coverage     72.35%   72.17%   -0.18%     
+ Complexity     2472     2463       -9     
============================================
  Files            87       87              
  Lines         10821    10821              
  Branches       1653     1653              
============================================
- Hits           7829     7810      -19     
- Misses         2044     2065      +21     
+ Partials        948      946       -2     
Impacted Files Coverage Δ Complexity Δ
...io/opencmw/concepts/majordomo/MajordomoWorker.java 50.38% <0.00%> (-6.21%) 13.00% <0.00%> (-4.00%)
...io/opencmw/concepts/majordomo/MajordomoBroker.java 65.57% <0.00%> (-5.91%) 49.00% <0.00%> (-5.00%)
.../opencmw/concepts/majordomo/MajordomoProtocol.java 70.21% <0.00%> (-1.07%) 21.00% <0.00%> (-1.00%)
...in/java/io/opencmw/client/DataSourcePublisher.java 84.98% <0.00%> (-0.35%) 53.00% <0.00%> (-1.00%)
...c/main/java/io/opencmw/server/MajordomoBroker.java 78.99% <0.00%> (+0.45%) 86.00% <0.00%> (-1.00%) ⬆️
...io/opencmw/concepts/aggregate/TestEventSource.java 63.51% <0.00%> (+1.35%) 8.00% <0.00%> (+1.00%)
...nt/src/main/java/io/opencmw/client/DataSource.java 83.78% <0.00%> (+5.40%) 10.00% <0.00%> (+1.00%)
...ain/java/io/opencmw/client/OpenCmwDnsResolver.java 75.40% <0.00%> (+8.19%) 15.00% <0.00%> (+1.00%)

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 02b03a2...49b6bfc. Read the comment docs.

The @timeout annotation of the class is only applied to test methods,
not to lifecycle methods like BeforAll/AfterAll.
Because of this some tests could block in the lifecycle phases and block
the CI.
@wirew0rm wirew0rm had a problem deploying to configure coverage March 31, 2021 07:52 Failure
@wirew0rm wirew0rm temporarily deployed to configure coverage March 31, 2021 07:52 Inactive
@wirew0rm wirew0rm temporarily deployed to configure coverage March 31, 2021 08:02 Inactive
@wirew0rm wirew0rm temporarily deployed to configure coverage March 31, 2021 08:02 Inactive
@wirew0rm wirew0rm temporarily deployed to deploy March 31, 2021 08:07 Inactive
Copy link
Member

@RalphSteinhagen RalphSteinhagen left a comment

Choose a reason for hiding this comment

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

very good as directly discussed.

@RalphSteinhagen RalphSteinhagen merged commit ed46343 into main Mar 31, 2021
@RalphSteinhagen RalphSteinhagen deleted the fixBuildTimeouts branch March 31, 2021 13:11
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.

3 participants