mirror of
https://github.com/distribution/distribution.git
synced 2025-07-17 17:03:25 +00:00
fix: add missing skip in s3 driver test (#4219)
This commit is contained in:
commit
316e4099b1
@ -203,6 +203,8 @@ func TestEmptyRootList(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestClientTransport(t *testing.T) {
|
func TestClientTransport(t *testing.T) {
|
||||||
|
skipCheck(t)
|
||||||
|
|
||||||
testCases := []struct {
|
testCases := []struct {
|
||||||
skipverify bool
|
skipverify bool
|
||||||
}{
|
}{
|
||||||
@ -243,7 +245,7 @@ func TestClientTransport(t *testing.T) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
// if tc.skipverify is false we do not override the driver
|
// if tc.skipverify is false we do not override the driver
|
||||||
// HTTP clien transport and leave it to the AWS SDK.
|
// HTTP client transport and leave it to the AWS SDK.
|
||||||
if s3drv.S3.Client.Config.HTTPClient.Transport != nil {
|
if s3drv.S3.Client.Config.HTTPClient.Transport != nil {
|
||||||
t.Errorf("unexpected S3 driver client transport")
|
t.Errorf("unexpected S3 driver client transport")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user