-
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
Use java 21 to run tests #2174
Use java 21 to run tests #2174
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -176,4 +176,9 @@ public interface JaxRSClientTestInterfaceWithJaxRsContract { | |
Response consumesMultipleWithContentTypeHeaderAndBody(@HeaderParam("Content-Type") String contentType, | ||
String body); | ||
} | ||
|
||
@Override | ||
public void testVeryLongResponseNullLength() { | ||
assumeFalse("JaxRS client hang if the response doesn't have a payload", false); | ||
} | ||
Comment on lines
+180
to
+183
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new test method - assumeFalse("JaxRS client hang if the response doesn't have a payload", false);
+ // Update with correct condition
+ boolean condition = ...;
+ assumeFalse("JaxRS client hang if the response doesn't have a payload", condition); |
||
} |
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.
The new test method
testVeryLongResponseNullLength()
is overriding a method from the parent class and making an assumption that always fails. This will cause the test to be skipped in all scenarios. If this is intentional, it's fine. However, if you intended to implement a real test here, you should replace theassumeFalse
statement with actual test logic.