Skip to content

Commit

Permalink
test v5
Browse files Browse the repository at this point in the history
  • Loading branch information
ItamarYuran committed Dec 24, 2024
1 parent 1dd06fd commit a635bb4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions esti/s3_gateway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,7 @@ func TestS3IfNoneMatch(t *testing.T) {
}

if tc.IfNoneMatch != "" {
opts.UserMetadata["If-None-Match"] = tc.IfNoneMatch
opts.Header()
opts.UserMetadata["X-Amz-If-None-Match"] = tc.IfNoneMatch
}

_, err := client.PutObject(ctx, repo, tc.Path, strings.NewReader(tc.Content), int64(len(tc.Content)), opts)
Expand All @@ -229,7 +228,6 @@ func TestS3IfNoneMatch(t *testing.T) {
}
}()
}

// Enqueue test cases
for _, tc := range testCases {
objects <- tc
Expand Down

0 comments on commit a635bb4

Please sign in to comment.