From 01dd8ff24d0e8e96f02309b96a7715ad9e7fd3d2 Mon Sep 17 00:00:00 2001 From: Maksim Fedotov Date: Tue, 26 Oct 2021 19:00:04 +0300 Subject: [PATCH] test(e2e): forbidden node labels and annotations. increase wait interval for ModifyCapsuleConfigurationOpts --- e2e/node_user_metadata_test.go | 4 ++-- e2e/utils_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/node_user_metadata_test.go b/e2e/node_user_metadata_test.go index a19813597..a9e2f8325 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() { diff --git a/e2e/utils_test.go b/e2e/utils_test.go index 229c98f4f..153b4d274 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) {