diff --git a/e2e/node_user_metadata_test.go b/e2e/node_user_metadata_test.go index a1981359..efc8e243 100644 --- a/e2e/node_user_metadata_test.go +++ b/e2e/node_user_metadata_test.go @@ -8,13 +8,13 @@ package e2e import ( "context" - capsulev1beta1 "github.com/clastix/capsule/api/v1beta1" capsulev1alpha1 "github.com/clastix/capsule/api/v1alpha1" + capsulev1beta1 "github.com/clastix/capsule/api/v1beta1" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" + corev1 "k8s.io/api/core/v1" rbacv1 "k8s.io/api/rbac/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - corev1 "k8s.io/api/core/v1" ) var _ = Describe("modifying node labels and annotations", func() { @@ -193,11 +193,6 @@ var _ = Describe("modifying node labels and annotations", func() { return err })).ShouldNot(Succeed()) }) - - ModifyCapsuleConfigurationOpts(func(configuration *capsulev1alpha1.CapsuleConfiguration) { - configuration.SetAnnotations(map[string]string{}) - }) - }) }) diff --git a/e2e/utils_test.go b/e2e/utils_test.go index 229c98f4..153b4d27 100644 --- a/e2e/utils_test.go +++ b/e2e/utils_test.go @@ -70,7 +70,7 @@ func ModifyCapsuleConfigurationOpts(fn func(configuration *capsulev1alpha1.Capsu Expect(k8sClient.Update(context.Background(), config)).ToNot(HaveOccurred()) - time.Sleep(time.Second) + time.Sleep(5 * time.Second) } func KindInTenantRoleBindingAssertions(ns *corev1.Namespace, timeout time.Duration) (out []AsyncAssertion) {