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

Pluggable storage: Add stdout, stderr, stacktrace, fix caseresult loading #170

Merged
merged 1 commit into from
Sep 24, 2020

Conversation

timja
Copy link
Member

@timja timja commented Sep 24, 2020

.

@timja timja added this to the Pluggable storage milestone Sep 24, 2020
@@ -134,14 +134,24 @@ public CaseResult(SuiteResult parent, String testName, String errorStackTrace, S
}

@Restricted(Beta.class)
public CaseResult(SuiteResult parent, String className, String testName, String errorDetails, String skippedMessage, float duration) {
public CaseResult(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ignoring compat break as it's beta and only user is sql plugin which will be released at the same time

} else {
result = getClassResult(name);
}
ClassResult result = getClassResult(name);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get by package result also loads the full class result, this code before was ignoring the package and only worked in tests because we had a Klazz and a other.Klazz. and so the wrong Klazz was being picked.

Now we load from the correct package

@timja timja merged commit a39b176 into jenkinsci:master Sep 24, 2020
@timja timja deleted the add-stdstar branch September 24, 2020 09:28
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.

1 participant