Project: mule
Issue MULE-7809: Remove incorrect assertion from Test createHttpServerConnectionWithHttpConnectorProperties
Test org.mule.transport.http.HttpServerConnectionTestCase.createHttpServerConnectionWithHttpConnectorProperties asserts that socket packet size is set on a newly created socket to the value specified by configuration. But the value as specified by the JDK documentation is just a suggestion, and the test is currently failing on CI: org.mule.transport.http.HttpServerConnectionTestCase.createHttpServerConnectionWithHttpConnectorProperties Error Details expected:<1024> but was:<1148> Stack Trace java.lang.AssertionError: expected:<1024> but was:<1148> org.junit.Assert.fail(Assert.java:93) org.junit.Assert.failNotEquals(Assert.java:647) org.junit.Assert.assertEquals(Assert.java:128) org.junit.Assert.assertEquals(Assert.java:472) org.junit.Assert.assertEquals(Assert.java:456) org.mule.transport.http.HttpServerConnectionTestCase.createHttpServerConnectionWithHttpConnectorProperties(HttpServerConnectionTestCase.java:263) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:606) org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:46) org.junit.internal.runners.statements.FailOnTimeout$1.run(FailOnTimeout.java:28) Standard Output ================================================================================ = Testing: createHttpServerConnectionWithHttpConnectorProperties = ================================================================================
Story points: 3