Skip to content

Commit

Permalink
Merge pull request #526 from mrkisaolamb/mod-test-helper
Browse files Browse the repository at this point in the history
Modified CreateKeystoneAPI to take an additional parameter spec
  • Loading branch information
openshift-merge-bot[bot] authored Jan 27, 2025
2 parents 4c279c7 + 976402d commit 552fda9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion api/test/helpers/crd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 552fda9

Please sign in to comment.