There was an error while loading. Please reload this page.
1 parent 59d36cd commit 52c7b1cCopy full SHA for 52c7b1c
test/src/com/rabbitmq/client/test/server/BlockedConnection.java
@@ -38,6 +38,8 @@ protected void releaseResources() throws IOException {
38
e.printStackTrace();
39
}
40
41
+ // this test first opens a connection, then triggers
42
+ // and alarm and blocks
43
public void testBlock() throws Exception {
44
final CountDownLatch latch = new CountDownLatch(1);
45
@@ -48,6 +50,8 @@ public void testBlock() throws Exception {
48
50
assertTrue(latch.await(10, TimeUnit.SECONDS));
49
51
52
53
+ // this test first triggers an alarm, then opens a
54
+ // connection
55
public void testInitialBlock() throws Exception {
56
57
0 commit comments