Skip to content

Commit

Permalink
Deactivated unneeded call of error description
Browse files Browse the repository at this point in the history
  • Loading branch information
martingrossmann committed Jun 24, 2022
1 parent ea84fa6 commit 57f46e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ apply plugin: 'io.codearte.nexus-staging'

ext {
// Minimum required Testerra version
testerraCompileVersion = '1.9'
testerraCompileVersion = '1.12'
// Unit tests use the latest Testerra version
testerraTestVersion = '[1.9,2-SNAPSHOT)'
testerraTestVersion = '[1.12,2-SNAPSHOT)'

// Default version
moduleVersion = '1-SNAPSHOT'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ private synchronized void syncTestresult(TestStatusUpdateEvent event, Outcome ou
}
result.setErrorMessage(errorMessage);
result.setFailureType(this.getFailureType(event).toString());
event.getMethodContext().getFailsAnnotation().get().description();
// event.getMethodContext().getFailsAnnotation().get().description();
final String stackTrace = ExceptionUtils.getStackTrace(throwable);
result.setStackTrace(stackTrace);
});
Expand Down Expand Up @@ -234,7 +234,7 @@ private Optional<AzureTest> getAnnotation(TestStatusUpdateEvent event) {
if (methodFromEvent.isPresent() && methodFromEvent.get().isAnnotationPresent(AzureTest.class)) {
return Optional.of(methodFromEvent.get().getAnnotation(AzureTest.class));
} else {
log().info("No annoation found for sync results with Azure DevOps");
log().info("No annotation found for sync results with Azure DevOps");
return Optional.empty();
}
}
Expand Down

0 comments on commit 57f46e8

Please sign in to comment.