Skip to content

Commit 6d3fb91

Browse files
author
Kate Osborn
committed
use real upstream in test
1 parent 022e1b4 commit 6d3fb91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/mode/static/nginx/config/servers_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ func TestCreateServers(t *testing.T) {
589589
MatchRules: []dataplane.MatchRule{
590590
{
591591
Match: dataplane.Match{},
592-
BackendGroup: bazGroup,
592+
BackendGroup: fooGroup,
593593
Additions: []*dataplane.Addition{
594594
{
595595
Bytes: []byte("match-addition"),
@@ -974,7 +974,7 @@ func TestCreateServers(t *testing.T) {
974974
},
975975
{
976976
Path: "= /addition",
977-
ProxyPass: "http://invalid-backend-ref$request_uri",
977+
ProxyPass: "http://test_foo_80$request_uri",
978978
ProxySetHeaders: httpBaseHeaders,
979979
Includes: []http.Include{
980980
{

0 commit comments

Comments
 (0)