/** * Ensure that deadlocks do not occur during concurrent update operations. * * @throws Exception If failed. */ @Test public void testDeadlocksUpdate() throws Exception { checkDeadlocksRepeat(5, 2, 2, 2, 0, 0, UPDATE_CNT, 0, 0); }
/** * Ensure that deadlocks do not occur during concurrent delete operations. * * @throws Exception If failed. */ @Test public void testDeadlocksDelete() throws Exception { checkDeadlocksRepeat(5, 2, 2, 2, 0, DELETE_CNT, 0, 0, 0); }
/** * Ensure that deadlocks do not occur during concurrent delete & rename operations. * * @throws Exception If failed. */ @Test public void testDeadlocksDeleteMkdirsRename() throws Exception { checkDeadlocksRepeat(5, 2, 2, 2, RENAME_CNT, DELETE_CNT, 0, MKDIRS_CNT, 0); }
/** * Ensure that deadlocks do not occur during concurrent directory creation operations. * * @throws Exception If failed. */ @Test public void testDeadlocksMkdirs() throws Exception { checkDeadlocksRepeat(5, 2, 2, 2, 0, 0, 0, MKDIRS_CNT, 0); }
/** * Ensure that deadlocks do not occur during concurrent delete & rename operations. * * @throws Exception If failed. */ @Test public void testDeadlocksDeleteRename() throws Exception { checkDeadlocksRepeat(5, 2, 2, 2, RENAME_CNT, DELETE_CNT, 0, 0, 0); }
/** * Ensure that deadlocks do not occur during concurrent file creation operations. * * @throws Exception If failed. */ @Test public void testDeadlocksCreate() throws Exception { checkDeadlocksRepeat(5, 2, 2, 2, 0, 0, 0, 0, CREATE_CNT); }
/** * Ensure that deadlocks do not occur during concurrent rename operations. * * @throws Exception If failed. */ @Test public void testDeadlocksRename() throws Exception { checkDeadlocksRepeat(5, 2, 2, 2, RENAME_CNT, 0, 0, 0, 0); }
/** * Ensure that deadlocks do not occur during concurrent delete & rename operations. * * @throws Exception If failed. */ @Test public void testDeadlocksDeleteMkdirs() throws Exception { checkDeadlocksRepeat(5, 2, 2, 2, 0, DELETE_CNT, 0, MKDIRS_CNT, 0); }
/** * Ensure that deadlocks do not occur during concurrent operations of various types. * * @throws Exception If failed. */ @Test public void testDeadlocks() throws Exception { checkDeadlocksRepeat(5, 2, 2, 2, RENAME_CNT, DELETE_CNT, UPDATE_CNT, MKDIRS_CNT, CREATE_CNT); }