From 976402d325fe953298d24729e4c46d74295ffbe0 Mon Sep 17 00:00:00 2001 From: Kamil Sambor Date: Thu, 23 Jan 2025 08:42:13 +0100 Subject: [PATCH] Modified CreateKeystoneAPI to default APITimeout This will fix all other operators func tests depending on CreateKeystoneAPI. --- api/test/helpers/crd.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/api/test/helpers/crd.go b/api/test/helpers/crd.go index 0a0aec00..872ae85b 100644 --- a/api/test/helpers/crd.go +++ b/api/test/helpers/crd.go @@ -65,7 +65,11 @@ func (th *TestHelper) CreateKeystoneAPI(namespace string) types.NamespacedName { Name: "keystone-" + uuid.New().String(), Namespace: namespace, }, - Spec: keystonev1.KeystoneAPISpec{}, + Spec: keystonev1.KeystoneAPISpec{ + KeystoneAPISpecCore: keystonev1.KeystoneAPISpecCore{ + APITimeout: 60, + }, + }, } gomega.Expect(th.K8sClient.Create(th.Ctx, keystone.DeepCopy())).Should(gomega.Succeed())