File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/test/java/com/rabbitmq/client/test/server Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ protected void releaseResources() throws IOException {
37
37
e .printStackTrace ();
38
38
}
39
39
}
40
+ // this test first opens a connection, then triggers
41
+ // and alarm and blocks
40
42
public void testBlock () throws Exception {
<
72AA
td data-grid-cell-id="diff-0c49f5880dcba8cfaa633a14d5c9ff4842f9f1672250603c38a39f58453f9cca-41-43-0" data-selected="false" role="gridcell" style="background-color:var(--bgColor-default);text-align:center" tabindex="-1" valign="top" class="focusable-grid-cell diff-line-number position-relative diff-line-number-neutral left-side">41
43
final CountDownLatch latch = new CountDownLatch (1 );
42
44
@@ -47,6 +49,8 @@ public void testBlock() throws Exception {
47
49
assertTrue (latch .await (10 , TimeUnit .SECONDS ));
48
50
}
49
51
52
+ // this test first triggers an alarm, then opens a
53
+ // connection
50
54
public void testInitialBlock () throws Exception {
51
55
final CountDownLatch latch = new CountDownLatch (1 );
52
56
You can’t perform that action at this time.
0 commit comments