We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1aea76 commit 9aa8f80Copy full SHA for 9aa8f80
src/test/java/com/rabbitmq/client/test/server/BlockedConnection.java
@@ -37,6 +37,8 @@ protected void releaseResources() throws IOException {
37
e.printStackTrace();
38
}
39
40
+ // this test first opens a connection, then triggers
41
+ // and alarm and blocks
42
public void testBlock() throws Exception {
43
final CountDownLatch latch = new CountDownLatch(1);
44
@@ -47,6 +49,8 @@ public void testBlock() throws Exception {
47
49
assertTrue(latch.await(10, TimeUnit.SECONDS));
48
50
51
52
+ // this test first triggers an alarm, then opens a
53
+ // connection
54
public void testInitialBlock() throws Exception {
55
56
0 commit comments