We're doing a random number calculation which causes an ArgumentError, in JRuby only, if the parameter is zero. This could happen when using the Ruby SDK, or when using ruby-eventsource outside of the SDK, if the application explicitly sets the initial reconnect delay to zero.
I found this problem by running the SSE contract tests— after disabling other flaky tests in JRuby that were preventing the CI job from getting that far.
We're doing a random number calculation which causes an ArgumentError, in JRuby only, if the parameter is zero. This could happen when using the Ruby SDK, or when using ruby-eventsource outside of the SDK, if the application explicitly sets the initial reconnect delay to zero.
I found this problem by running the SSE contract tests— after disabling other flaky tests in JRuby that were preventing the CI job from getting that far.