Skip to content

Commit

Permalink
Rename method for clarity (JENA-1987)
Browse files Browse the repository at this point in the history
  • Loading branch information
rvesse committed Nov 17, 2020
1 parent 6977728 commit 1fe930c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public class TestAdmin extends AbstractFusekiTest {
}

@Test public void add_delete_dataset_6() {
assumeWindows();
assumeNotWindows();

checkNotThere(dsTestTdb2);

Expand Down Expand Up @@ -324,7 +324,7 @@ public void create_backup_2() {
// ---- Compact

@Test public void compact_01() {
assumeWindows();
assumeNotWindows();
try {
checkNotThere(dsTestTdb2);
addTestDatasetTdb2();
Expand All @@ -346,7 +346,7 @@ public void create_backup_2() {
}
}

private void assumeWindows() {
private void assumeNotWindows() {
if (SystemUtils.IS_OS_WINDOWS)
throw new AssumptionViolatedException("Test may be unstable on Windows due to inability to delete memory-mapped files");
}
Expand Down

0 comments on commit 1fe930c

Please sign in to comment.