Skip to content

Commit dc41325

Browse files
committed
Use a unique ID for the test entity
Use an identifiable name for the test entity.
1 parent eeff0ae commit dc41325

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/snippets/src/test/java/com/example/datastore/RegionalEndpointIT.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public void testRegionalEndpoint() throws Exception {
5656
// The kind for the new entity
5757
String kind = "Task";
5858
// The name/ID for the new entity
59-
String name = "sampletask1";
59+
String name = "regionalEndpointClient50720906";
6060
// The Cloud Datastore key for the new entity
6161
Key taskKey = datastoreWithEndpoint.newKeyFactory().setKind(kind).newKey(name);
6262

0 commit comments

Comments
 (0)