Skip to content

Commit e854179

Browse files
authored
Disable unstable tests (#81)
1 parent b651e10 commit e854179

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/java/org/gridsuite/study/notification/server/NotificationWebSocketIT.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
package org.gridsuite.study.notification.server;
88

99
import io.micrometer.core.instrument.MeterRegistry;
10+
import org.junit.Ignore;
1011
import org.junit.Test;
1112
import org.junit.runner.RunWith;
1213
import org.springframework.beans.factory.annotation.Autowired;
@@ -57,6 +58,7 @@ protected URI getUrl(String path) {
5758
}
5859

5960
@Test
61+
@Ignore("This test case is not stable due to unexpected behavior of meterRegistry in asynchronous test context")
6062
public void metricsMapOneUserTwoConnections() {
6163
WebSocketClient client1 = new StandardWebSocketClient();
6264
HttpHeaders httpHeaders1 = new HttpHeaders();
@@ -75,6 +77,7 @@ public void metricsMapOneUserTwoConnections() {
7577
}
7678

7779
@Test
80+
@Ignore("This test case is not stable due to unexpected behavior of meterRegistry in asynchronous test context")
7881
public void metricsMapTwoUsers() {
7982
// First WebSocketClient for connections related to 'test' user
8083
WebSocketClient client1 = new StandardWebSocketClient();

0 commit comments

Comments
 (0)