Skip to content

Commit

Permalink
gcscopy e2e scenarios review comments addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
priyabhatnagar25 committed Sep 21, 2023
1 parent 699b71f commit 8c89edd
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,9 @@ public static void compareBucketsTarget() throws IOException {
if (destinationObjectNames.isEmpty()) {
BeforeActions.scenario.write("Target bucket is empty , no files copied from subdirectory "
+ targetGCSBucket + " successfully");
return ;
} Assert.fail("Object copied to target gcs bucket along with its files " + targetGCSBucket);
return;
}
Assert.fail("Object copied to target gcs bucket along with its files " + targetGCSBucket);
} catch (StorageException e) {
if (e.getMessage().equals("The specified bucket does not exist")) {
Assert.fail("Target gcs bucket " + targetGCSBucket + " not created - " + e.getMessage());
Expand Down

0 comments on commit 8c89edd

Please sign in to comment.