File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
org-code-javabuilder/lib/src
main/java/org/code/javabuilder
test/java/org/code/javabuilder Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public class CodeExecutionManager {
3737 private PrintStream systemOutputStream ;
3838 private boolean isInitialized ;
3939
40- private static final boolean LOG_MEMORY_USAGE = true ;
40+ private static final boolean LOG_MEMORY_USAGE = false ;
4141
4242 static class CodeBuilderRunnableFactory {
4343 public CodeBuilderRunnable createCodeBuilderRunnable (
@@ -195,7 +195,6 @@ private void logMemoryUsage() {
195195 "Loaded classes: %d, Unloaded classes: %d" ,
196196 classLoadingMXBean .getLoadedClassCount (), classLoadingMXBean .getUnloadedClassCount ());
197197 LoggerUtils .logInfo (classLoadingMessage );
198- System .out .println (classLoadingMessage );
199198 }
200199 }
201200}
Original file line number Diff line number Diff line change @@ -63,11 +63,11 @@ public void testCannotShutDownIfNotInitialized()
6363 unitUnderTest .shutDown ();
6464 verify (codeBuilderRunnable ).run ();
6565 // Verify post-execute
66- // verifyExitedMessageSentOnce();
66+ verifyExitedMessageSentOnce ();
6767
6868 unitUnderTest .shutDown ();
6969 // Should not call post-execute again
70- // verifyExitedMessageSentOnce();
70+ verifyExitedMessageSentOnce ();
7171 }
7272
7373 @ Test
@@ -87,7 +87,7 @@ public void testPostExecuteCalledOnlyOnceIfShutDownEarly()
8787 unitUnderTest .shutDown ();
8888
8989 // Verify post-execute happened only once
90- // verifyExitedMessageSentOnce();
90+ verifyExitedMessageSentOnce ();
9191 }
9292
9393 @ Test
You can’t perform that action at this time.
0 commit comments