You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tests using a RELP server take a long time because the first connect() call to ManagedRelpConnection fails, starting a reconnect loop with a sleep time of relp.reconnectInterval. Not sure if this happens outside of the testing environment.
Very noticeable when creating multiple connections back to back.
Expected behavior
Should connect straight away to speed up tests.
How to reproduce
Run any test in EndToEndTest.java, notice that it takes just a bit longer to run than the reconnectInterval.
Screenshots
Software version
Desktop (please complete the following information if relevant):
OS:
Browser:
Version:
Additional context
Workaround is to set relp.reconnectInterval to a lower value in unit tests.
The text was updated successfully, but these errors were encountered:
…uccesful connections (#71)
* Fix: solve bug where the program slept for relpConnectInterval amount of time for each successful connection
* Remove reconnectInterval setters from RebindTest
* Grammar fix in ManagedRelpConnection
Describe the bug
Tests using a RELP server take a long time because the first connect() call to ManagedRelpConnection fails, starting a reconnect loop with a sleep time of
relp.reconnectInterval
. Not sure if this happens outside of the testing environment.Very noticeable when creating multiple connections back to back.
Expected behavior
Should connect straight away to speed up tests.
How to reproduce
Run any test in EndToEndTest.java, notice that it takes just a bit longer to run than the reconnectInterval.
Screenshots
Software version
Desktop (please complete the following information if relevant):
Additional context
Workaround is to set
relp.reconnectInterval
to a lower value in unit tests.The text was updated successfully, but these errors were encountered: