Skip to content
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

Fixes to be able to run the TCK on custom Jenkins instance #24108

Merged
merged 5 commits into from
Sep 15, 2022

Conversation

dmatej
Copy link
Contributor

@dmatej dmatej commented Sep 14, 2022

@dmatej dmatej added this to the 7.0.0 milestone Sep 14, 2022
@dmatej dmatej requested a review from arjantijms September 14, 2022 12:06
@dmatej dmatej self-assigned this Sep 14, 2022
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
- TCK authentication tests ended in deadlock, because the TCK client steals
  logging.properties from the server (wrong idea, 3 JVMs using same
  file - server.log).
  It is because GlassFishLogHandler redirects standard output streams to the
  server.log file, then SimpleLogHandler uses new streams, which situation
  leads to a deadlock.
- GJULE LogManager prevents that by saving original streams on startup, so
  whatever happens later, it still has original values available. JUL doesn't
  have this mechanism.
- So in this commit I am just switching the order, so SimpleLogHandler is
  configured first with original values.
- However, this commit doesn't fix the issue where TCK steals server's cfg file.

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
- to be able to customize local maven repo path on jenkins

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
- Added MAIL_HOST

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
@dmatej dmatej merged commit 5fe9910 into eclipse-ee4j:master Sep 15, 2022
@dmatej dmatej deleted the jenkins2 branch September 15, 2022 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants