-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #5018 - add request timeout onto websocket ClientUpgradeRequest #5024
Issue #5018 - add request timeout onto websocket ClientUpgradeRequest #5024
Conversation
Signed-off-by: Lachlan Roberts <[email protected]>
Signed-off-by: Lachlan Roberts <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lachlan-roberts please add a test case.
Signed-off-by: Lachlan Roberts <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix what detailed in the comments, but otherwise LGTM.
...ebsocket-tests/src/test/java/org/eclipse/jetty/websocket/tests/client/ClientTimeoutTest.java
Outdated
Show resolved
Hide resolved
...ebsocket-tests/src/test/java/org/eclipse/jetty/websocket/tests/client/ClientTimeoutTest.java
Outdated
Show resolved
Hide resolved
.../websocket-client/src/main/java/org/eclipse/jetty/websocket/client/ClientUpgradeRequest.java
Outdated
Show resolved
Hide resolved
and increase timeouts used for testing Signed-off-by: Lachlan Roberts <[email protected]>
Tests failed.
Probably as a result of the following ...
|
@joakime the failure is unrelated to the changes in this PR, I re-ran and it passed the tests. |
Issue #5018
Add setter and getter for request timeout on the
ClientUpgradeRequest
in the same style as the methods onorg.eclipse.jetty.client.api.Request
.