ck: Build of fresh clone fails due to failing test

I am running mvn clean package on HEAD 17b80cb which fails due to a failing test.

-------------------------------------------------------------------------------
Test set: com.github.mauricioaniche.ck.NOCTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.012 s <<< FAILURE! - in com.github.mauricioaniche.ck.NOCTest
shouldDetectChildren  Time elapsed: 0.009 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <1> but was: <2>
	at com.github.mauricioaniche.ck.NOCTest.shouldDetectChildren(NOCTest.java:19)

This happens on both a JDK11 and JDK16 Maven runner. Similarly, if I run the tests through IntelliJ, this is the only test that fails.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (16 by maintainers)

Commits related to this issue

Most upvoted comments

Skimming on my cellphone: I see that the NOCExtras class has a static attribute …