org.opentest4j.AssertionFailedError:

GitHub | smoyer64 | 3 months ago

Root Cause Analysis

  1. org.opentest4j.AssertionFailedError

    at org.junit.jupiter.api.Assertions.fail()
  2. org.junit.jupiter
    Assertions.assertTrue
    1. org.junit.jupiter.api.Assertions.fail(Assertions.java:66)
    2. org.junit.jupiter.api.Assertions.fail(Assertions.java:74)
    3. org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:123)
    4. org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:83)
    4 frames
  3. Unknown
    DynamicTests.lambda$4
    1. DynamicTests.lambda$4(DynamicTests.java:30)
    1 frame
  4. org.junit.platform
    SingleTestExecutor.executeSafely
    1. org.junit.platform.engine.support.hierarchical.SingleTestExecutor.executeSafely(SingleTestExecutor.java:66)
    1 frame
  5. org.junit.jupiter
    TestFactoryTestDescriptor.lambda$null$0
    1. org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor.registerAndExecute(TestFactoryTestDescriptor.java:132)
    2. org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor.lambda$null$0(TestFactoryTestDescriptor.java:92)
    2 frames
  6. Java RT
    ReferencePipeline.forEach
    1. java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
    2. java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
    3. java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
    4. java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
    5. java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
    6. java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
    7. java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
    8. java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    9. java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
    9 frames
  7. org.junit.jupiter
    MethodTestDescriptor.execute
    1. org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor.lambda$invokeTestMethod$1(TestFactoryTestDescriptor.java:91)
    2. org.junit.jupiter.engine.execution.ThrowableCollector.execute(ThrowableCollector.java:40)
    3. org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor.invokeTestMethod(TestFactoryTestDescriptor.java:83)
    4. org.junit.jupiter.engine.descriptor.MethodTestDescriptor.execute(MethodTestDescriptor.java:155)
    5. org.junit.jupiter.engine.descriptor.MethodTestDescriptor.execute(MethodTestDescriptor.java:63)
    5 frames
  8. org.junit.platform
    JUnitPlatform.run
    1. org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.lambda$execute$0(HierarchicalTestExecutor.java:80)
    2. org.junit.platform.engine.support.hierarchical.SingleTestExecutor.executeSafely(SingleTestExecutor.java:66)
    3. org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:76)
    4. org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.lambda$execute$0(HierarchicalTestExecutor.java:87)
    5. org.junit.platform.engine.support.hierarchical.SingleTestExecutor.executeSafely(SingleTestExecutor.java:66)
    6. org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:76)
    7. org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.lambda$execute$0(HierarchicalTestExecutor.java:87)
    8. org.junit.platform.engine.support.hierarchical.SingleTestExecutor.executeSafely(SingleTestExecutor.java:66)
    9. org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:76)
    10. org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:51)
    11. org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:43)
    12. org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
    13. org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:84)
    14. org.junit.platform.runner.JUnitPlatform.run(JUnitPlatform.java:108)
    14 frames
  9. JUnit
    JUnitCore.main
    1. org.junit.runners.Suite.runChild(Suite.java:128)
    2. org.junit.runners.Suite.runChild(Suite.java:27)
    3. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    4. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    5. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    6. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    7. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    8. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    9. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    10. org.junit.runner.JUnitCore.run(JUnitCore.java:115)
    11. org.junit.runner.JUnitCore.runMain(JUnitCore.java:77)
    12. org.junit.runner.JUnitCore.main(JUnitCore.java:36)
    12 frames