AWSAppSyncClient awsAppSyncClient = AppSyncTestSetupHelper.createAppSyncClientWithIAM(true,2*1000); assertNotNull(awsAppSyncClient); assertTrue(awsAppSyncClient.isMutationQueueEmpty()); assertFalse(awsAppSyncClient.isMutationQueueEmpty()); try { addCountdownlatch.await(60, TimeUnit.SECONDS); iex.printStackTrace(); assertTrue(awsAppSyncClient.isMutationQueueEmpty());
AWSAppSyncClient awsAppSyncClient = AppSyncTestSetupHelper.createAppSyncClientWithIAM(true,2*1000); assertNotNull(awsAppSyncClient); assertTrue(awsAppSyncClient.isMutationQueueEmpty()); assertFalse(awsAppSyncClient.isMutationQueueEmpty()); awsAppSyncClient.clearMutationQueue(); assertTrue(awsAppSyncClient.isMutationQueueEmpty());