Skip to content

Commit

Permalink
Only check memory leak if requested.
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven committed Jun 17, 2016
1 parent 5a88465 commit efa5db8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,11 @@ public void runTestWorkflow(File workflowDir) throws IOException, InvalidSetting
workflowUncaughtExceptionsTest.run(collector);

// WorkflowMemLeakTest
WorkflowMemLeakTest workflowMemLeakTest = new WorkflowMemLeakTest(workflowName, monitor, m_runConfiguration,
m_context);
workflowMemLeakTest.run(collector);
if (m_runConfiguration.isCheckMemoryLeaks()) {
WorkflowMemLeakTest workflowMemLeakTest = new WorkflowMemLeakTest(workflowName, monitor, m_runConfiguration,
m_context);
workflowMemLeakTest.run(collector);
}
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ public void test_workflow_ignore2messages() throws IOException, InvalidSettingsE
TestrunConfiguration runConfiguration = new TestrunConfiguration();
runConfiguration.setCheckLogMessages(false);
runConfiguration.setCheckNodeMessages(false);
runConfiguration.setAllowedMemoryIncrease(10485760);
File workflow = new File("src/knime/messages");
List<String> expected = new ArrayList<String>();

Expand Down

0 comments on commit efa5db8

Please sign in to comment.