Skip to content

Commit

Permalink
Update BrokerServiceTest.java
Browse files Browse the repository at this point in the history
- cleanup
  • Loading branch information
180254 committed May 14, 2024
1 parent 5822ab6 commit e429231
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1815,12 +1815,12 @@ public void test22657_1() throws Exception {
assertFalse(subscriptionStats.getConsumers().get(0).isBlockedConsumerOnUnackedMsgs());
}

@DataProvider(name = "test22657_1a_data")
public static Object[][] test22657_1a_data() {
@DataProvider(name = "max_unacked_data")
public static Object[][] max_unacked_data() {
return new Object[][]{{1, 1}, {1, 2}, {1, 5}, {2, 2}, {2, 3}, {4, 4}, {4, 8},{10,20}};
}

@Test(dataProvider = "test22657_1a_data")
@Test(dataProvider = "max_unacked_data")
public void test22657_1_parameterized(int maxUnackedMsgPerConsumer, int maxUnackedMsgPerSubscription) throws Exception {
final String ns = "prop/ns-test-%d-%d".formatted(maxUnackedMsgPerConsumer, maxUnackedMsgPerSubscription);

Expand Down

0 comments on commit e429231

Please sign in to comment.