File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
src/test/java/org/sonarsource/sonarqube/mcp/transport Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -123,18 +123,5 @@ void closeGracefully_should_complete_immediately_if_session_closes_in_5_seconds(
123123 verify (mockSession , never ()).close ();
124124 }
125125
126- @ Test
127- void should_not_exit_jvm_when_running_in_test_mode () throws Exception {
128- // This test verifies that System.exit(0) is NOT called when running tests.
129- // If the test detection logic fails, this test would never complete because
130- // the JVM would exit. The fact that this test completes proves the detection works.
131-
132- var provider = new StdioServerTransportProvider (new ObjectMapper ());
133-
134- // Verify the provider can be created without issues
135- // The shouldExitOnStdinEof() method should return false during tests
136- assertThatCode (() -> provider .toString ()).doesNotThrowAnyException ();
137- }
138-
139126}
140127
You can’t perform that action at this time.
0 commit comments