File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
samples/snippets/src/test/java/com/example/spanner Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 4343import java .io .ByteArrayOutputStream ;
4444import java .io .IOException ;
4545import java .io .PrintStream ;
46+ import java .time .Duration ;
4647import java .util .UUID ;
4748import java .util .concurrent .TimeUnit ;
4849import java .util .function .Predicate ;
@@ -590,6 +591,7 @@ public void testEncryptedDatabaseAndBackupSamples() throws Exception {
590591 } finally {
591592 // Delete the backups from the test instance first, as the instance can only be deleted once
592593 // all backups have been deleted.
594+ Uninterruptibles .sleepUninterruptibly (60 , TimeUnit .SECONDS );
593595 System .out .println ("Deleting backups ..." );
594596 deleteAllBackups (instanceId );
595597 instanceAdminClient .deleteInstance (instanceId );
You can’t perform that action at this time.
0 commit comments