@Test
  public void testIndexCreationDeadLock() throws Exception {
    simulateDeadlockScenario();
    assertFalse(cause, testFailed);
    assertFalse("Index creation failed", exceptionInCreatingIndex);
  }
Tests Index creation and maintenance deadlock scenario for in memory region
geode-core/src/integrationTest/java/org/apache/geode/cache/query/functional/IndexCreationDeadLockJUnitTest.java