Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fixed #23 ClientConfig differs between appservers #24

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

Merged
arjantijms merged 1 commit into javaee-samples:master from dmatej:issue-23-SseResourceTest
Jul 30, 2018

Conversation

Copy link
Contributor

@dmatej dmatej commented Jul 30, 2018

  • test was successful if run against remote servers, but failed with embedded
    The cause was that the default server's private embedded payara provider is
    incompatible with the jerseys's
  • solution: configure the jersey client to be independent on server settings/impl
  • also done some cleanup and comments
  • the test is faster now and has timeout set (hangouts were possible)
  • no asserts lost now (try/catch/stacktrace replaced with collecting junit
    exceptions from each event processing and asserting that all assertions passed
    and no exception was thrown)

- test was successful if run against remote servers, but failed with embedded
 The cause was that the default server's private embedded payara provider is
 incompatible with the jerseys's
- solution: configure the jersey client to be independent on server settings/impl
- also done some cleanup and comments
- the test is faster now and has timeout set (hangouts were possible)
- no asserts lost now (try/catch/stacktrace replaced with collecting junit
 exceptions from each event processing and asserting that all assertions passed
 and no exception was thrown)
Copy link
Contributor

Looks good too. Small remark is that the final modifiers and this prefixes are mostly not really needed, but alas, it's a small thing ;)

dmatej reacted with thumbs up emoji

@arjantijms arjantijms merged commit ffc9394 into javaee-samples:master Jul 30, 2018
Copy link
Contributor Author

dmatej commented Jul 30, 2018

It depends, I often do some big refactorings in very ugly code and then they are helpful for readibility and even to avoid unwanted collisions. But I will respect rules in this repo next time (I see many "fightings" of tabs vs. spaces here too) ;)

@dmatej dmatej deleted the issue-23-SseResourceTest branch July 30, 2018 20:54
Copy link
Contributor

Thanks! It's probably not "fightings", just mistakes ;) The rule should be spaces for this repo.

dmatej reacted with thumbs up emoji

Pandrex247 pushed a commit to Pandrex247/javaee8-samples that referenced this pull request Jan 16, 2023
...-tests-ee10-compatible
FISH-6410: updating to jakarta 10 compatibility
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /