Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
coderzc committed Mar 29, 2023
1 parent f10b352 commit 4dd3acc
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ public void testUnsubscribe() throws Exception {

@Test
public void testBucketDelayedIndexMetrics() throws Exception {
cleanup();
setup();

String topic = BrokerTestUtil.newUniqueName("persistent://public/default/testBucketDelayedIndexMetrics");

@Cleanup
Expand Down Expand Up @@ -205,7 +208,7 @@ public void testBucketDelayedIndexMetrics() throws Exception {
}
producer.flush();

Thread.sleep(1000);
Thread.sleep(2000);

ByteArrayOutputStream output = new ByteArrayOutputStream();
PrometheusMetricsGenerator.generate(pulsar, true, true, true, output);
Expand Down

0 comments on commit 4dd3acc

Please sign in to comment.