From dc413258137d200c782083965a9ed39fa8908114 Mon Sep 17 00:00:00 2001 From: Juan Lara Date: Wed, 26 Apr 2023 22:58:10 +0000 Subject: [PATCH] Use a unique ID for the test entity Use an identifiable name for the test entity. --- .../src/test/java/com/example/datastore/RegionalEndpointIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/src/test/java/com/example/datastore/RegionalEndpointIT.java b/samples/snippets/src/test/java/com/example/datastore/RegionalEndpointIT.java index 26fcfebd4..23f00c71a 100644 --- a/samples/snippets/src/test/java/com/example/datastore/RegionalEndpointIT.java +++ b/samples/snippets/src/test/java/com/example/datastore/RegionalEndpointIT.java @@ -56,7 +56,7 @@ public void testRegionalEndpoint() throws Exception { // The kind for the new entity String kind = "Task"; // The name/ID for the new entity - String name = "sampletask1"; + String name = "regionalEndpointClient50720906"; // The Cloud Datastore key for the new entity Key taskKey = datastoreWithEndpoint.newKeyFactory().setKind(kind).newKey(name);