Skip to content
Permalink
Browse files
Merge pull request #837 from mattcasters/master
HOP-2921 : SWT Error while running unit tests
  • Loading branch information
mattcasters committed Jun 1, 2021
2 parents 374e6fc + defea94 commit e39748a274103716be8f3048690be7f0aa5b65c2
Showing 1 changed file with 5 additions and 4 deletions.
@@ -97,10 +97,11 @@ public void callExtensionPoint(

String dontShowResults =
pipeline.getVariable(DataSetConst.VAR_DO_NOT_SHOW_UNIT_TEST_ERRORS, "N");

final HopGui hopGui = HopGui.getInstance();
if (hopGui != null && "N".equalsIgnoreCase(dontShowResults)) {
showUnitTestErrors(pipeline, results, hopGui);
if ("N".equalsIgnoreCase(dontShowResults)) {
final HopGui hopGui = HopGui.getInstance();
if (hopGui != null) {
showUnitTestErrors(pipeline, results, hopGui);
}
}
}
log.logBasic("----------------------------------------------");

0 comments on commit e39748a

Please sign in to comment.