Skip to content

Commit 1bf0e29

Browse files
committed
trying out ipv6 address resolution
1 parent 3e7bc73 commit 1bf0e29

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

google-cloud-datastore/src/test/java/com/google/cloud/datastore/DatastoreTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,6 @@
9696
public class DatastoreTest {
9797
private static final int NUMBER_OF_ATTEMPTS = 5;
9898

99-
@ClassRule
100-
public static MultipleAttemptsRule rr = new MultipleAttemptsRule(NUMBER_OF_ATTEMPTS, 10);
101-
10299
private static LocalDatastoreHelper helper = LocalDatastoreHelper.create(1.0);
103100
private static final DatastoreOptions options = helper.getOptions();
104101
private static final Datastore datastore = options.getService();
@@ -176,6 +173,7 @@ public class DatastoreTest {
176173

177174
@BeforeClass
178175
public static void beforeClass() throws IOException, InterruptedException {
176+
System.setProperty("java.net.preferIPv6Addresses", "true");
179177
helper.start();
180178
}
181179

0 commit comments

Comments
 (0)