Skip to content

Commit 1fd1544

Browse files
committed
fix
1 parent 4bc0dd9 commit 1fd1544

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/e2e/gatewayapi/tcproute.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,19 +67,19 @@ spec:
6767

6868
BeforeEach(func() {
6969
// Create GatewayProxy
70-
Expect(s.CreateResourceFromStringWithNamespace(s.GetGatewayProxySpec(), s.Namespace())).
70+
Expect(s.CreateResourceFromString(s.GetGatewayProxySpec())).
7171
NotTo(HaveOccurred(), "creating GatewayProxy")
7272

7373
// Create GatewayClass
7474
gatewayClassName := s.Namespace()
75-
Expect(s.CreateResourceFromStringWithNamespace(fmt.Sprintf(s.GetGatewayClassYaml(), gatewayClassName, s.GetControllerName()), "")).
75+
Expect(s.CreateResourceFromString(s.GetGatewayClassYaml())).
7676
NotTo(HaveOccurred(), "creating GatewayClass")
7777
gcyaml, _ := s.GetResourceYaml("GatewayClass", gatewayClassName)
7878
s.ResourceApplied("GatewayClass", gatewayClassName, gcyaml, 1)
7979

8080
// Create Gateway with TCP listener
8181
gatewayName := s.Namespace()
82-
Expect(s.CreateResourceFromStringWithNamespace(fmt.Sprintf(tcpGateway, gatewayName, gatewayClassName, s.Namespace()), s.Namespace())).
82+
Expect(s.CreateResourceFromString(fmt.Sprintf(tcpGateway, gatewayName, gatewayClassName))).
8383
NotTo(HaveOccurred(), "creating Gateway")
8484

8585
gwyaml, _ := s.GetResourceYaml("Gateway", gatewayName)

0 commit comments

Comments
 (0)