15
15
16
16
import org .junit .platform .suite .api .*;
17
17
18
- /**
19
- * TODO Fix:
20
- * - com.predic8.membrane.core.interceptor.opentelemetry.OpenTelemetryInterceptorTest
21
- * - com.predic8.membrane.core.interceptor.rewrite.RewriteInterceptorIntegrationTest // Rewrite as UnitTest with sampleSOAPService
22
- * Still in use?
23
- * - com.predic8.membrane.core.interceptor.oauth2client.OAuth2Resource2InterceptorTest
24
- * - com.predic8.membrane.core.interceptor.shadowing.ShadowingInterceptorTest
25
- */
26
18
@ Suite
27
19
@ SelectPackages ({"com.predic8" })
28
20
@ ExcludeClassNamePatterns ({
29
- "com.predic8.membrane.AllTests" ,
30
- "com.predic8.membrane.core.interceptor.opentelemetry.OpenTelemetryInterceptorTest" ,
31
- "com.predic8.membrane.core.interceptor.balancer.NodeOnlineCheckerTest" ,
32
- "com.predic8.membrane.core.interceptor.tunnel.WebsocketStompTest" ,
33
- "com.predic8.membrane.core.interceptor.oauth2client.OAuth2Resource2InterceptorTest" ,
34
- "com.predic8.membrane.core.interceptor.shadowing.ShadowingInterceptorTest" ,
35
- "com.predic8.membrane.core.interceptor.rewrite.RewriteInterceptorIntegrationTest" ,
36
- //
37
- // From includes, weren't run before!
38
- // TODO: Fix or delete
39
- "com.predic8.membrane.core.transport.http.ConnectionTest" ,
40
- "com.predic8.membrane.core.util.MemcachedConnectorTest"
41
-
21
+ "com.predic8.membrane.AllTests" , // Replaced with package scan
22
+ "com.predic8.membrane.core.transport.http.ConnectionTest" , // #2180 should fix it
23
+ "com.predic8.membrane.core.interceptor.rewrite.RewriteInterceptorIntegrationTest" , // Rewrite as UnitTest with sampleSOAPService
24
+ "com.predic8.membrane.core.interceptor.tunnel.WebsocketStompTest" , // Fails: not standalone; depends on external WS+STOMP setup
25
+ "com.predic8.membrane.core.interceptor.oauth2client.OAuth2Resource2InterceptorTest" , // Disabled: incomplete setup; AuthorizationService (and other) not configured
26
+ "com.predic8.membrane.core.util.MemcachedConnectorTest" // Disabled: not standalone; needs Memcached at 127.0.0.1:11211 (fails with Connection refused)
42
27
})
43
28
public class UnitTests {
44
29
/*
45
30
* Uncomment below to speed up test execution!
46
31
*
47
32
*/
48
- /*
49
- * @BeforeClass public static void forbidScreenOutput() { PrintStream ps =
50
- * new PrintStream(new OutputStream() {
51
- *
52
- * @Override public void write(int b) throws IOException { throw new
53
- * RuntimeException("this test uses stdout"); } }); System.setOut(ps);
54
- * System.setErr(ps); }
55
- */
33
+ /*
34
+ * @BeforeClass public static void forbidScreenOutput() { PrintStream ps =
35
+ * new PrintStream(new OutputStream() {
36
+ *
37
+ * @Override public void write(int b) throws IOException { throw new
38
+ * RuntimeException("this test uses stdout"); } }); System.setOut(ps);
39
+ * System.setErr(ps); }
40
+ */
56
41
}
0 commit comments