File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ import (
3030 "github.com/stretchr/testify/assert"
3131 "google.golang.org/grpc/codes"
3232 "google.golang.org/grpc/status"
33+ "k8s.io/apimachinery/pkg/util/wait"
3334 "k8s.io/utils/pointer"
3435 "sigs.k8s.io/cloud-provider-azure/pkg/azureclients/blobclient"
3536 "sigs.k8s.io/cloud-provider-azure/pkg/azureclients/storageaccountclient/mockstorageaccountclient"
@@ -1259,14 +1260,14 @@ func TestCreateBlobContainer(t *testing.T) {
12591260 containerName : "containerName" ,
12601261 secrets : map [string ]string {},
12611262 clientErr : DATAPLANE ,
1262- expectedErr : fmt . Errorf ( "timed out waiting for the condition" ) ,
1263+ expectedErr : wait . ErrWaitTimeout ,
12631264 },
12641265 {
12651266 desc : "Management API Error" ,
12661267 containerName : "containerName" ,
12671268 secrets : map [string ]string {},
12681269 clientErr : MANAGEMENT ,
1269- expectedErr : fmt . Errorf ( "timed out waiting for the condition" ) ,
1270+ expectedErr : wait . ErrWaitTimeout ,
12701271 },
12711272 {
12721273 desc : "Random Client Error" ,
You can’t perform that action at this time.
0 commit comments