File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
samples/snippets/src/test/java/com/example/spanner Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ public static void setUp() throws Exception {
96
96
key = String .format ("projects/%s/locations/%s/keyRings/%s/cryptoKeys/%s" ,
97
97
options .getProjectId (), keyLocation , keyRing , keyName );
98
98
}
99
-
99
+
100
100
static void deleteStaleTestDatabases (String instanceId , String baseDbId ) {
101
101
Timestamp now = Timestamp .now ();
102
102
Pattern samplePattern = getTestDbIdPattern (baseDbId );
@@ -410,7 +410,7 @@ public void testSample() throws Exception {
410
410
out = runSample ("deletebackup" );
411
411
assertThat (out ).contains ("Deleted backup [" + backupId + "]" );
412
412
}
413
-
413
+
414
414
@ Test
415
415
public void testEncryptedDatabaseAndBackupSamples () throws Exception {
416
416
String projectId = spanner .getOptions ().getProjectId ();
@@ -513,7 +513,7 @@ public void testCreateInstanceSample() {
513
513
private static int countOccurrences (String input , String search ) {
514
514
return input .split (search ).length - 1 ;
515
515
}
516
-
516
+
517
517
private static String toComparableId (String baseId , String existingId ) {
518
518
String zeroUuid = "00000000-0000-0000-0000-0000-00000000" ;
519
519
int shouldBeLength = (baseId + "-" + zeroUuid ).length ();
You can’t perform that action at this time.
0 commit comments