Skip to content

Commit

Permalink
label tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Mendoza committed Mar 26, 2024
1 parent dfbb11d commit 9540fa6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions controller/linodeobjectstoragebucket_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func mockLinodeClientBuilder(m *mock.MockLinodeObjectStorageClient) scope.Linode
}
}

var _ = Describe("lifecycle", Label("lifecycle"), func() {
var _ = Describe("lifecycle", Ordered, Label("bucket", "lifecycle"), func() {
var mockCtrl *gomock.Controller
var reconciler *LinodeObjectStorageBucketReconciler
var testLogs *bytes.Buffer
Expand Down Expand Up @@ -306,7 +306,7 @@ var _ = Describe("lifecycle", Label("lifecycle"), func() {
})
})

var _ = Describe("pre-reconcile", Label("pre-reconcile"), func() {
var _ = Describe("pre-reconcile", Label("bucket", "pre-reconcile"), func() {
var obj infrav1.LinodeObjectStorageBucket
var mockCtrl *gomock.Controller
var reconciler *LinodeObjectStorageBucketReconciler
Expand Down Expand Up @@ -378,7 +378,7 @@ var _ = Describe("pre-reconcile", Label("pre-reconcile"), func() {
})
})

var _ = Describe("apply", Label("apply"), func() {
var _ = Describe("apply", Label("bucket", "apply"), func() {
var obj infrav1.LinodeObjectStorageBucket
var mockCtrl *gomock.Controller
var testLogs *bytes.Buffer
Expand Down Expand Up @@ -421,7 +421,7 @@ var _ = Describe("apply", Label("apply"), func() {
}
})

It("fails when a finalizer cannot be added", Label("current"), func(ctx SpecContext) {
It("fails when a finalizer cannot be added", func(ctx SpecContext) {
mockK8sClient := mock.NewMockk8sClient(mockCtrl)
prev := mockK8sClient.EXPECT().
Scheme().
Expand Down

0 comments on commit 9540fa6

Please sign in to comment.