-
Notifications
You must be signed in to change notification settings - Fork 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
HPCC4J-599 Halt all JUnits on init failure #708
Conversation
Jira Issue: https://hpccsystems.atlassian.net/browse/HPCC4J-599 Jirabot Action Result: |
try | ||
{ | ||
initialize(); | ||
initialized = true; |
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.
not a big deal, but I wonder if the initialized bool is necessary. It seems initializationException can be used to determine if init succeeded/failed.
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.
@jpmcmu seems fine. Left a comment regarding a redundant variable. Also, can we add a test case to confirm/validate this functionality?
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.
@jpmcmu seems fine, can you provide me a link to a sample run?
- Updated init logic in BaseRemoteTest to automatically fail tests if init fails Signed-off-by: James McMullan [email protected]
@rpastrana squashed. Here is the output from the test that shows what a failure would look like in the logs: Error: Failures: |
Signed-off-by: James McMullan [email protected]
Type of change:
Checklist:
Testing: