diff --git a/google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/slow/ITBackupTest.java b/google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/slow/ITBackupTest.java index 63018eeab95..bf65f7147ab 100644 --- a/google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/slow/ITBackupTest.java +++ b/google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/slow/ITBackupTest.java @@ -467,7 +467,7 @@ public void test02_RetryNonIdempotentRpcsReturningLongRunningOperations() throws } try { client.cancelOperation(op.getName()); - } catch (ExecutionException e) { + } catch (SpannerException | ExecutionException e) { // Ignore, this can happen, as the restore operation sometimes fails to start if there // is already a restore operation running on the instance. }