Skip to content

Commit

Permalink
extend the waiting time for policy to expire
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgao001 committed Dec 26, 2023
1 parent 754c1b9 commit 92f4091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/tests/permission_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ func (s *StorageTestSuite) TestCreateObjectByOthersExpiration() {
s.Require().Equal(queryPolicyForAccountResp.Policy.ResourceType, resource.RESOURCE_TYPE_BUCKET)
s.Require().Equal(queryPolicyForAccountResp.Policy.ResourceId, queryHeadBucketResponse.BucketInfo.Id)

time.Sleep(5 * time.Second)
time.Sleep(6 * time.Second)
// CreateObject
objectName := storageutil.GenRandomObjectName()
// create test buffer
Expand Down

0 comments on commit 92f4091

Please sign in to comment.