Skip to content
Permalink
Browse files
HOP-2921 : SWT Error while running unit tests
  • Loading branch information
mattcasters committed Jun 1, 2021
1 parent 374e6fc commit defea942e57829465732a8a84bc6ccc35da63e16
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 defea94

Please sign in to comment.