Skip to content

Commit

Permalink
#1 temp remove delete with force in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-conway committed Jan 23, 2017
1 parent c1e5cfb commit 432c29c
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ public void testRetrieveLastNQueriesFewerThanNQueries() throws Exception {
.computeTempQueryPathUnderDotIrods(irodsAccount
.getUserName()));

targetCollectionAsFile.deleteWithForceOption();
// FIXME: temporarily remove force
// targetCollectionAsFile.deleteWithForceOption();
targetCollectionAsFile.delete();
targetCollectionAsFile.mkdirs();

MetadataQueryMaintenanceService mdQueryService = new MetadataQueryMaintenanceService(
Expand Down Expand Up @@ -160,7 +162,9 @@ public void testRetrieveLastNQueriesExactlyNQueries() throws Exception {
tempQueryService
.computeTempQueryPathUnderDotIrods(irodsAccount
.getUserName()));
targetCollectionAsFile.deleteWithForceOption();
// FIXME: temporarily remove force
// targetCollectionAsFile.deleteWithForceOption();
targetCollectionAsFile.delete();
targetCollectionAsFile.mkdirs();

MetadataQueryMaintenanceService mdQueryService = new MetadataQueryMaintenanceService(
Expand Down Expand Up @@ -202,7 +206,9 @@ public void testRetrieveLastNQueriesMoreThanNQueries() throws Exception {
.computeTempQueryPathUnderDotIrods(irodsAccount
.getUserName()));

targetCollectionAsFile.deleteWithForceOption();
// FIXME: temporarily remove force
// targetCollectionAsFile.deleteWithForceOption();
targetCollectionAsFile.delete();
targetCollectionAsFile.mkdirs();

MetadataQueryMaintenanceService mdQueryService = new MetadataQueryMaintenanceService(
Expand Down

0 comments on commit 432c29c

Please sign in to comment.