@Test
  public void testThreadIdentifiersExpiry() {
    int puts = 10;

    server1.invoke(() -> doPuts(puts));

    server1.invoke(() -> verifyThreadsBeforeExpiration(1));
    server2.invoke(() -> verifyThreadsBeforeExpiration(1));

    server1.invoke(() -> awaitToVerifyStatsAfterExpiration(puts));
    server2.invoke(() -> awaitToVerifyStatsAfterExpiration(puts));
  }
HARegionQueueThreadIdExpiryRegressionTest
<p>
TRAC #48879: Leaking ThreadIdentifiers and DispatchedAndCurrentEvents objects when client uses
many short lived threads
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/ha/HARegionQueueThreadIdExpiryRegressionTest.java