Skip to content

Commit

Permalink
Update Ec2DiscoveryResolverTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
pecollet committed Mar 15, 2024
1 parent 231b555 commit ca947a5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/java/cs/neo4j/Ec2DiscoveryResolverTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import com.neo4j.configuration.ClusterAddressSettings;
import com.neo4j.configuration.ClusterNetworkSettings;
import com.neo4j.configuration.DiscoverySettings;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.neo4j.configuration.Config;
Expand All @@ -28,6 +29,10 @@ public class Ec2DiscoveryResolverTest {

LogProvider logProvider = NullLogProvider.getInstance();;

@BeforeAll
public static void init() {
System.setProperty("aws.region", "eu-west-1");
}

@Test @Disabled
void shouldReturnName() {
Expand Down

0 comments on commit ca947a5

Please sign in to comment.