Skip to content

Commit

Permalink
[fix][test] use @BeforeMethod(alwaysRun = true)
Browse files Browse the repository at this point in the history
Signed-off-by: Zixuan Liu <[email protected]>
  • Loading branch information
nodece committed Sep 11, 2024
1 parent 3e37978 commit 292ba53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public class AdminApi2Test extends MockedPulsarServiceBaseTest {

private MockedPulsarService mockPulsarSetup;

@BeforeMethod
@BeforeMethod(alwaysRun = true)
@Override
public void setup() throws Exception {
conf.setForceDeleteNamespaceAllowed(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class AdminApiTransactionMultiBrokerTest extends TransactionTestBase {
private static final int NUM_BROKERS = 16;
private static final int NUM_PARTITIONS = 3;

@BeforeMethod
@BeforeMethod(alwaysRun = true)
protected void setup() throws Exception {
setUpBase(NUM_BROKERS, NUM_PARTITIONS, NAMESPACE1 + "/test", 0);
}
Expand Down

0 comments on commit 292ba53

Please sign in to comment.