From 9540fa6188baf0d87c3dc9d69f6e907b2158a976 Mon Sep 17 00:00:00 2001 From: Brian Mendoza Date: Tue, 26 Mar 2024 17:47:28 -0400 Subject: [PATCH] label tests --- controller/linodeobjectstoragebucket_controller_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/controller/linodeobjectstoragebucket_controller_test.go b/controller/linodeobjectstoragebucket_controller_test.go index 40a4a6552..75e0b11fd 100644 --- a/controller/linodeobjectstoragebucket_controller_test.go +++ b/controller/linodeobjectstoragebucket_controller_test.go @@ -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 @@ -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 @@ -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 @@ -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().