javaee / grizzly

Writing scalable server applications in the Java™ programming language has always been difficult. Before the advent of the Java New I/O API (NIO), thread management issues made it impossible for a server to scale to thousands of users. The Grizzly NIO framework has been designed to help developers to take advantage of the Java™ NIO API.
https://javaee.github.io/grizzly/
Other
222 stars 60 forks source link

Test failures on master when running within Linux Docker container #1960

Closed rlubke closed 7 years ago

rlubke commented 7 years ago

Failed tests: testChangeSessionId(org.glassfish.grizzly.http.server.HttpSessionTest): expected:<[JSESSIONID]> but was:<[CookieMonster]>

testChangeSessionId(org.glassfish.grizzly.http.server.HttpSessionTest) Time elapsed: 0.02 sec <<< FAILURE! junit.framework.ComparisonFailure: expected:<[JSESSIONID]> but was:<[CookieMonster]> at junit.framework.Assert.assertEquals(Assert.java:100)

Tests in error: testProvocativeWrite(org.glassfish.grizzly.http.server.NIOOutputSinksTest) testPostponedAsyncFailure(org.glassfish.grizzly.http.server.NIOOutputSinksTest)

Environment: Dockerized jenkins (the official jenkins LTS image). It reports:

java.vendor: Oracle Corporation java.version: 1.8.0_131 java.vm.name: OpenJDK 64-Bit Server VM

rlubke commented 7 years ago

I was able to reproduce the two failures in the NIOOutputSinksTest.