Skip to content

Commit

Permalink
Add @SuppressWarnings for LockRegistryLeaderInitiatorTests
Browse files Browse the repository at this point in the history
  • Loading branch information
EddieChoCho committed Jun 26, 2024
1 parent 31d6d76 commit efd9305
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ public void publishOnGranted(Object source, Context context, String role) {
}

@Test
@SuppressWarnings("rawtypes")
public void competingWithLock() throws Exception {
// switch used to toggle which registry obtains lock
AtomicBoolean firstLocked = new AtomicBoolean(true);
Expand Down Expand Up @@ -220,6 +221,7 @@ public void competingWithLock() throws Exception {
}

@Test
@SuppressWarnings("rawtypes")
public void testGracefulLeaderSelectorExit() throws Exception {
AtomicReference<Throwable> throwableAtomicReference = new AtomicReference<>();

Expand Down

0 comments on commit efd9305

Please sign in to comment.