Skip to content

Commit

Permalink
add mint args
Browse files Browse the repository at this point in the history
  • Loading branch information
balamurugana committed Jun 2, 2020
1 parent 719f31d commit 9f9b428
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions functional/FunctionalTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -4129,6 +4129,8 @@ public static void listenBucketNotification_test1() throws Exception {
String file = createFile1Kb();
String bucketName = getRandomName();
CloseableIterator<Result<NotificationRecords>> ci = null;
String mintArgs =
"prefix=prefix, suffix=suffix, events={\"s3:ObjectCreated:*\", \"s3:ObjectAccessed:*\"}";
try {
client.makeBucket(MakeBucketArgs.builder().bucket(bucketName).region(region).build());

Expand Down Expand Up @@ -4163,9 +4165,9 @@ public static void listenBucketNotification_test1() throws Exception {
}
}

mintSuccessLog(methodName, null, startTime);
mintSuccessLog(methodName, mintArgs, startTime);
} catch (Exception e) {
handleException(methodName, null, startTime, e);
handleException(methodName, mintArgs, startTime, e);
} finally {
if (ci != null) {
ci.close();
Expand Down

0 comments on commit 9f9b428

Please sign in to comment.