Skip to content

Commit

Permalink
test: add obc bucketOwner integration test
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Hoblitt <[email protected]>
  • Loading branch information
jhoblitt committed Feb 4, 2025
1 parent 0eef853 commit 9d21fe0
Show file tree
Hide file tree
Showing 2 changed files with 837 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/integration/ceph_object_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import (
"github.com/rook/rook/tests/framework/clients"
"github.com/rook/rook/tests/framework/installer"
"github.com/rook/rook/tests/framework/utils"
"github.com/rook/rook/tests/integration/object/bucketowner"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"
Expand Down Expand Up @@ -152,6 +153,8 @@ func runObjectE2ETest(helper *clients.TestClient, k8sh *utils.K8sHelper, install
// now test operation of the first object store
testObjectStoreOperations(s, helper, k8sh, namespace, storeName, swiftAndKeystone)

bucketowner.TestObjectBucketClaimBucketOwner(s.T(), k8sh, installer, logger, tlsEnable)

bucketNotificationTestStoreName := "bucket-notification-" + storeName
createCephObjectStore(s.T(), helper, k8sh, installer, namespace, bucketNotificationTestStoreName, 1, tlsEnable, swiftAndKeystone)
testBucketNotifications(s, helper, k8sh, namespace, bucketNotificationTestStoreName)
Expand Down
Loading

0 comments on commit 9d21fe0

Please sign in to comment.