convert changelog page to simple link to github file #4472
run-tests.yml
on: push
build-linux
/
run
4m 41s
build-windows
/
run
7m 13s
test-docs
3m 17s
Matrix: cross-plat
Annotations
15 errors and 16 warnings
concurrent_sessions_in_different_threads.org.mockitousage.stubbing.StrictStubbingEndToEndTest.concurrent_sessions_in_different_threads:
concurrent_sessions_in_different_threads#L93
Expected 1 passes but 0/1 passed.
There were 1 test failures:
<-----> 1. org.mockito.exceptions.misusing.PotentialStubbingProblem:
Strict stubbing argument mismatch. Please check:
- this invocation of 'simpleMethod' method:
mock.simpleMethod(2);
-> at org.mockitousage.strictness.ProductionCode.simpleMethod(ProductionCode.java:20)
- has following stubbing(s) with different arguments:
1. mock.simpleMethod(1);
-> at org.mockitousage.stubbing.StrictStubbingEndToEndTest$ReportMismatchButNotUnusedStubbing.mismatch(StrictStubbingEndToEndTest.java:132)
Typically, stubbing argument mismatch indicates user mistake when writing tests.
Mockito fails early so that you can debug potential problem easily.
However, there are legit scenarios when this exception generates false negative signal:
- stubbing the same method multiple times using 'given().will()' or 'when().then()' API
Please use 'will().given()' or 'doReturn().when()' API for stubbing.
- stubbed method is intentionally invoked with different arguments by code under test
Please use default or 'silent' JUnit Rule (equivalent of Strictness.LENIENT).
For more information see javadoc for PotentialStubbingProblem class.
at org.mockito.internal.exceptions.Reporter.potentialStubbingProblem(Reporter.java:1163)
at org.mockito.internal.junit.DefaultStubbingLookupListener.onStubbingLookup(DefaultStubbingLookupListener.java:56)
at org.mockito.internal.listeners.StubbingLookupNotifier.notifyStubbedAnswerLookup(StubbingLookupNotifier.java:31)
at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:93)
at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:34)
at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:82)
at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:56)
at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor$DispatcherDefaultingToRealMethod.interceptAbstract(MockMethodInterceptor.java:161)
at org.mockitousage.IMethods$MockitoMock$XiPb8I1N.simpleMethod(Unknown Source)
at org.mockitousage.strictness.ProductionCode.simpleMethod(ProductionCode.java:20)
at org.mockitousage.stubbing.StrictStubbingEndToEndTest$ReportMismatchButNotUnusedStubbing.mismatch(StrictStubbingEndToEndTest.java:133)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRun
|
linux (17, example.scalalib.__.native.server.test, false) / run
Process completed with exit code 22.
|
java17Test.hello.MyCoreTests.java17Test:
java17Test#L32
expected:<1[1]> but was:<1[7]>
|
msgTest.hello.MyCoreTests.msgTest:
msgTest#L10
expected:<Hello World[]> but was:<Hello World[!!]>
|
java11Test.hello.MyCoreTests.java11Test:
java11Test#L23
expected:<1[7]> but was:<1[1]>
|
msgTest.hello.MyCoreTests.msgTest:
msgTest#L10
expected:<Hello World[]> but was:<Hello World[!!]>
|
HelloTests.failure:
contrib/testng/test/resources/demo/testng/src/foo/HelloTests.java#L73127
expected:<"Not hello, world"> but was:<"Hello, world">
AssertionFailedError: expected:<"Not hello, world"> but was:<"Hello, world">
|
foo HelloTests.failure:
foo HelloTests#L1
Expected <Hello, world>, actual <Not hello, world>.
AssertionError: Expected <Hello, world>, actual <Not hello, world>.
|
ArgsParserTests.two:
ArgsParserTests#L1
result.length == 80
result: Seq[String] = ArraySeq(hello, world)
|
ArgsParserTests.two:
ArgsParserTests#L1
result.length == 80
result: Seq[String] = ArraySeq(hello, world)
|
ArgsParserSpec.parse should two:
ArgsParserSpec#L1
Array("hello", "world") had length 2 instead of expected length 80
|
java11Test.hello.MyCoreTests.java11Test:
java11Test#L23
expected:<1[7]> but was:<1[1]>
|
msgTest.hello.MyCoreTests.msgTest:
msgTest#L10
expected:<Hello World[]> but was:<Hello World[!!]>
|
java17Test.hello.MyCoreTests.java17Test:
java17Test#L32
expected:<1[1]> but was:<1[7]>
|
msgTest.hello.MyCoreTests.msgTest:
msgTest#L10
expected:<Hello World[]> but was:<Hello World[!!]>
|
test-docs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build-linux / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint-autofix / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
linux (17, 'example.thirdparty[{netty,gatling}].local.server.test', false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
itest (17, ci/test-mill-bootstrap.sh) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
itest (11, ci/test-dist-run.sh && ci/test-install-local.sh && ./mill -i -k __.ivyDepsTree && ./mi... / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
linux (17, contrib.__.test, false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
linux (17, 'example.thirdparty[arrow].local.server.test', false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
linux (17, 'integration.invalidation.__.packaged.server.test', false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
linux (11, 'example.{cli,fundamentals,depth,extending}.__.local.server.test', false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
linux (17, 'example.android.__.local.server.test', true) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
linux (17, 'example.{pythonlib,javascriptlib}.__.local.server.test', false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
linux (17, 'integration.invalidation.__.packaged.fork.test', false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
linux (17, example.kotlinlib.__.native.server.test, false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
linux (11, 'integration.{failure,feature,ide}.__.packaged.server.test', false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
linux (17, example.javalib.__.local.server.test, false) / run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
macos-13-selective-execution-artifact
|
174 Bytes |
|
macos-latest-selective-execution-artifact
|
174 Bytes |
|
ubuntu-24.04-arm-selective-execution-artifact
|
174 Bytes |
|
ubuntu-latest-artifact
|
182 MB |
|
ubuntu-latest-selective-execution-artifact
|
174 Bytes |
|
windows-latest-artifact
|
181 MB |
|
windows-latest-selective-execution-artifact
|
174 Bytes |
|