From fd42a0fa96119d06ed339ca2b110de8444f93282 Mon Sep 17 00:00:00 2001 From: Jesse Lovelace Date: Tue, 26 Nov 2024 12:05:14 -0800 Subject: [PATCH] fix test issue --- .../src/test/java/com/example/storage/ITObjectSnippets.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/snippets/src/test/java/com/example/storage/ITObjectSnippets.java b/samples/snippets/src/test/java/com/example/storage/ITObjectSnippets.java index 3e4a408a6..0b08d3f3c 100644 --- a/samples/snippets/src/test/java/com/example/storage/ITObjectSnippets.java +++ b/samples/snippets/src/test/java/com/example/storage/ITObjectSnippets.java @@ -490,7 +490,8 @@ public void testListSoftDeletedVersionsOfObject() { .setSoftDeletePolicy( BucketInfo.SoftDeletePolicy.newBuilder() .setRetentionDuration(Duration.ofDays(7)) - .build()); + .build()) + .build(); String blob = "softdelobj1"; storage.create(BlobInfo.newBuilder(BlobId.of(BUCKET, blob)).build());