Skip to content

Commit 0251368

Browse files
authored
all: update dependencies (#3530)
1 parent c838139 commit 0251368

File tree

429 files changed

+23693
-17283
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

429 files changed

+23693
-17283
lines changed

blob/azureblob/azureblob_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ func (h *harness) Close() {
140140

141141
func TestConformance(t *testing.T) {
142142
// See setup instructions above for more details.
143-
drivertest.RunConformanceTests(t, newHarness, []drivertest.AsTest{verifyContentLanguage{}})
143+
// Disable the conformance tests, we don't have an Azure account anymore.
144+
// drivertest.RunConformanceTests(t, newHarness, []drivertest.AsTest{verifyContentLanguage{}})
144145
}
145146

146147
func BenchmarkAzureblob(b *testing.B) {

blob/drivertest/drivertest.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -2539,7 +2539,7 @@ func testSignedURL(t *testing.T, newHarness HarnessMaker) {
25392539
if success != test.wantSuccess {
25402540
t.Errorf("PUT to %q with ContentType %q got status code %d, wanted 2xx? %v", test.urlDescription, test.contentType, resp.StatusCode, test.wantSuccess)
25412541
gotBody, _ := io.ReadAll(resp.Body)
2542-
t.Errorf(string(gotBody))
2542+
t.Error(string(gotBody))
25432543
}
25442544
}
25452545
}
@@ -2563,7 +2563,7 @@ func testSignedURL(t *testing.T, newHarness HarnessMaker) {
25632563
if success != test.wantSuccess {
25642564
t.Errorf("GET to %q got status code %d, want 2xx? %v", test.urlDescription, resp.StatusCode, test.wantSuccess)
25652565
gotBody, _ := io.ReadAll(resp.Body)
2566-
t.Errorf(string(gotBody))
2566+
t.Error(string(gotBody))
25672567
} else if success {
25682568
gotBody, err := io.ReadAll(resp.Body)
25692569
if err != nil {
@@ -2595,7 +2595,7 @@ func testSignedURL(t *testing.T, newHarness HarnessMaker) {
25952595
success := resp.StatusCode >= 200 && resp.StatusCode < 300
25962596
if success != test.wantSuccess {
25972597
gotBody, _ := io.ReadAll(resp.Body)
2598-
t.Errorf(string(gotBody))
2598+
t.Error(string(gotBody))
25992599
t.Fatalf("DELETE to %q got status code %d, want 2xx? %v", test.urlDescription, resp.StatusCode, test.wantSuccess)
26002600
}
26012601
}
@@ -2610,7 +2610,7 @@ func testSignedURL(t *testing.T, newHarness HarnessMaker) {
26102610
if resp.StatusCode != 404 {
26112611
t.Errorf("GET after DELETE got status code %d, want 404", resp.StatusCode)
26122612
gotBody, _ := io.ReadAll(resp.Body)
2613-
t.Errorf(string(gotBody))
2613+
t.Error(string(gotBody))
26142614
}
26152615
}
26162616
}

0 commit comments

Comments
 (0)