Skip to content

Commit

Permalink
go fmt ./... from Github Actions (Go)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaovilai committed Jul 9, 2022
1 parent 54f3140 commit c6b3db6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions pkg/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,16 @@ func TestS3Store(t *testing.T) {
}
ut.Deregister()
}
func TestAzureStore(t *testing.T){
func TestAzureStore(t *testing.T) {
defer func() {
if r := recover(); r != nil {
t.Logf("TestE2e recovered from panic: %v", r)
if r.(azstorage.AzureStorageServiceError).Code == "AuthenticationFailed" {
t.Log("azure storage driver initialized and authentication failed as expected")
} else {
t.Fatalf("TestE2e unexpected error: %v", r)
if r := recover(); r != nil {
t.Logf("TestE2e recovered from panic: %v", r)
if r.(azstorage.AzureStorageServiceError).Code == "AuthenticationFailed" {
t.Log("azure storage driver initialized and authentication failed as expected")
} else {
t.Fatalf("TestE2e unexpected error: %v", r)
}
}
}
}()
ut, err := udistribution.NewTransportFromNewConfig("", []string{
"REGISTRY_STORAGE=azure",
Expand All @@ -221,7 +221,7 @@ func TestAzureStore(t *testing.T){
ut.Deregister()
}

func TestGCSStore(t *testing.T){
func TestGCSStore(t *testing.T) {
t.Skip("GCS is not supported yet")
// TODO: test gcs driver
}

0 comments on commit c6b3db6

Please sign in to comment.