Skip to content

Commit 8f51207

Browse files
committed
chore: rename test func
1 parent c6b9863 commit 8f51207

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

e2e/global/common/traits/builder_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func TestBuilderTrait(t *testing.T) {
4949

5050
integrationKitName := IntegrationKit(ns, name)()
5151
builderKitName := fmt.Sprintf("camel-k-%s-builder", integrationKitName)
52-
Eventually(Pod(ns, builderKitName), TestTimeoutShort).Should(Not(BeNil()))
52+
Eventually(BuilderPod(ns, builderKitName), TestTimeoutShort).Should(Not(BeNil()))
5353

5454
Expect(Kamel("delete", "--all", "-n", ns).Execute()).To(Succeed())
5555
})

e2e/support/test_support.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1348,7 +1348,7 @@ func Configmap(ns string, name string) func() *corev1.ConfigMap {
13481348
}
13491349
}
13501350

1351-
func Pod(ns string, name string) func() *corev1.Pod {
1351+
func BuilderPod(ns string, name string) func() *corev1.Pod {
13521352
return func() *corev1.Pod {
13531353
pod := corev1.Pod{
13541354
TypeMeta: metav1.TypeMeta{

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ require (
4646
go.uber.org/zap v1.24.0
4747
golang.org/x/oauth2 v0.5.0
4848
golang.org/x/sync v0.1.0
49-
golang.org/x/term v0.4.0
50-
golang.org/x/text v0.6.0
49+
golang.org/x/term v0.5.0
50+
golang.org/x/text v0.7.0
5151
golang.org/x/time v0.1.0
5252
gopkg.in/inf.v0 v0.9.1
5353
gopkg.in/yaml.v2 v2.4.0

0 commit comments

Comments
 (0)