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 {
37
37
private PrintStream systemOutputStream ;
38
38
private boolean isInitialized ;
39
39
40
- private static final boolean LOG_MEMORY_USAGE = true ;
40
+ private static final boolean LOG_MEMORY_USAGE = false ;
41
41
42
42
static class CodeBuilderRunnableFactory {
43
43
public CodeBuilderRunnable createCodeBuilderRunnable (
@@ -195,7 +195,6 @@ private void logMemoryUsage() {
195
195
"Loaded classes: %d, Unloaded classes: %d" ,
196
196
classLoadingMXBean .getLoadedClassCount (), classLoadingMXBean .getUnloadedClassCount ());
197
197
LoggerUtils .logInfo (classLoadingMessage );
198
- System .out .println (classLoadingMessage );
199
198
}
200
199
}
201
200
}
Original file line number Diff line number Diff line change @@ -63,11 +63,11 @@ public void testCannotShutDownIfNotInitialized()
63
63
unitUnderTest .shutDown ();
64
64
verify (codeBuilderRunnable ).run ();
65
65
// Verify post-execute
66
- // verifyExitedMessageSentOnce();
66
+ verifyExitedMessageSentOnce ();
67
67
68
68
unitUnderTest .shutDown ();
69
69
// Should not call post-execute again
70
- // verifyExitedMessageSentOnce();
70
+ verifyExitedMessageSentOnce ();
71
71
}
72
72
73
73
@ Test
@@ -87,7 +87,7 @@ public void testPostExecuteCalledOnlyOnceIfShutDownEarly()
87
87
unitUnderTest .shutDown ();
88
88
89
89
// Verify post-execute happened only once
90
- // verifyExitedMessageSentOnce();
90
+ verifyExitedMessageSentOnce ();
91
91
}
92
92
93
93
@ Test
You can’t perform that action at this time.
0 commit comments