-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
-
support-core:1172.va_1fcf85806d0
Review the test https://github.com/jenkinsci/support-core-plugin/blob/1158.v9189f64fec8c/src/test/java/com/cloudbees/jenkins/support/impl/FileDescriptorLimitTest.java#L53 that is flaky in Java 17. Sensitive to the SupportPlugin.REMOTE_OPERATION_TIMEOUT_MS
java.lang.AssertionError: Expected: a string containing "core file size" but: was "Jenkins ====== N/A: Either no connection to node or no cached result " at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6) at com.cloudbees.jenkins.support.impl.FileDescriptorLimitTest.addContentsFiltered(FileDescriptorLimitTest.java:66) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) 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.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:606) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.lang.Thread.run(Thread.java:833)