Skip to content

Commit

Permalink
gh-2435 PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
GCHQDev404 committed Aug 25, 2021
1 parent cae6d6b commit 62ff201
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Expand Up @@ -16,7 +16,7 @@

package uk.gov.gchq.gaffer.federatedstore.integration;

import org.junit.AfterClass;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeEach;

import uk.gov.gchq.gaffer.cache.CacheServiceLoader;
Expand All @@ -38,7 +38,7 @@ public void setUp() throws Exception {
_setUp();
}

@AfterClass
@AfterAll
public void tearDown() throws Exception {
CacheServiceLoader.shutdown();
_tearDown();
Expand Down
Expand Up @@ -58,8 +58,7 @@ public class FederatedAdminIT extends AbstractStandaloneFederatedStoreIT {
public static final User ADMIN_USER = new User("admin", Collections.EMPTY_SET, Sets.newHashSet("AdminAuth"));
public static final User NOT_ADMIN_USER = new User("admin", Collections.EMPTY_SET, Sets.newHashSet("NotAdminAuth"));

private static Class currentClass = new Object() {
}.getClass().getEnclosingClass();
private static Class currentClass = new Object() {}.getClass().getEnclosingClass();
private static final AccumuloProperties ACCUMULO_PROPERTIES = AccumuloProperties.loadStoreProperties(
StreamUtil.openStream(currentClass, "properties/singleUseAccumuloStore.properties"));

Expand Down
Expand Up @@ -48,6 +48,7 @@
import uk.gov.gchq.koryphe.impl.predicate.IsEqual;

import java.util.ArrayList;
import java.util.concurrent.TimeUnit;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
Expand All @@ -64,7 +65,7 @@ public class FederatedStoreRecursionIT {
private User user = new User();

@Test
@Timeout(value = 20000)
@Timeout(value = 1, unit = TimeUnit.MINUTES)
public void shouldNotInfinityLoopWhenAddingElements() throws Exception {
/*
* Structure:
Expand Down

0 comments on commit 62ff201

Please sign in to comment.