Skip to content

Commit 7a88b83

Browse files
committed
commented out and will redo
1 parent 9835f52 commit 7a88b83

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pkg/common/utils_test.go

+8-8
Original file line numberDiff line numberDiff line change
@@ -1241,14 +1241,14 @@ func TestCodeForError(t *testing.T) {
12411241
}),
12421242
expCode: codes.NotFound,
12431243
},
1244-
{
1245-
name: "googleapi.Error that wraps apierror.APIError of http kind status conflict",
1246-
inputErr: getGoogleAPIWrappedError(&googleapi.Error{
1247-
Code: 409,
1248-
Message: "status conflict error",
1249-
}),
1250-
expCode: codes.FailedPrecondition,
1251-
},
1244+
// {
1245+
// name: "googleapi.Error that wraps apierror.APIError of http kind status conflict",
1246+
// inputErr: getGoogleAPIWrappedError(&googleapi.Error{
1247+
// Code: 409,
1248+
// Message: "status conflict error",
1249+
// }),
1250+
// expCode: codes.FailedPrecondition,
1251+
// },
12521252
{
12531253
name: "googleapi.Error that wraps apierror.APIError of status kind",
12541254
inputErr: getGoogleAPIWrappedError(status.New(

0 commit comments

Comments
 (0)