Skip to content

Commit

Permalink
Adjust functional tests for bucket cors, to detect NotImplemented res…
Browse files Browse the repository at this point in the history
…ponse via logError
  • Loading branch information
marktheunissen committed Aug 6, 2024
1 parent fd0e507 commit 6b227b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functional_tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -14156,7 +14156,7 @@ func testCors() {
}
err = c.SetBucketCors(ctx, bucketName, corsConfig)
if err != nil {
logFailure(testName, function, args, startTime, "", "SetBucketCors failed to apply", err)
logError(testName, function, args, startTime, "", "SetBucketCors failed to apply", err)
return
}
}
Expand Down Expand Up @@ -14284,7 +14284,7 @@ func testCorsSetGetDelete() {
corsConfig := cors.NewConfig(corsRules)
err = c.SetBucketCors(ctx, bucketName, corsConfig)
if err != nil {
logFailure(testName, function, args, startTime, "", "SetBucketCors failed to apply", err)
logError(testName, function, args, startTime, "", "SetBucketCors failed to apply", err)
return
}

Expand Down

0 comments on commit 6b227b1

Please sign in to comment.