You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: e2e/tests/portforward/portforward.go
+8-7Lines changed: 8 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,15 @@ package portforward
3
3
import (
4
4
"context"
5
5
"fmt"
6
+
"net/http"
7
+
"os"
8
+
6
9
"github.com/loft-sh/devspace/cmd"
7
10
"github.com/loft-sh/devspace/cmd/flags"
8
11
"github.com/loft-sh/devspace/e2e/framework"
9
12
"github.com/loft-sh/devspace/e2e/kube"
10
13
"github.com/loft-sh/devspace/pkg/util/factory"
11
14
"github.com/onsi/ginkgo/v2"
12
-
"net/http"
13
-
"os"
14
15
)
15
16
16
17
var_=DevSpaceDescribe("portforward", func() {
@@ -69,13 +70,13 @@ var _ = DevSpaceDescribe("portforward", func() {
69
70
done<-devCmd.RunDefault(f)
70
71
}()
71
72
72
-
nginxResp:="<!DOCTYPE html>\n<html>\n<head>\n<title>Welcome to nginx!</title>\n<style>\nhtml { color-scheme: light dark; }\nbody { width: 35em; margin: 0 auto;\nfont-family: Tahoma, Verdana, Arial, sans-serif; }\n</style>\n</head>\n<body>\n<h1>Welcome to nginx!</h1>\n<p>If you see this page, the nginx web server is successfully installed and\nworking. Further configuration is required.</p>\n\n<p>For online documentation and support please refer to\n<a href=\"http://nginx.org/\">nginx.org</a>.<br/>\nCommercial support is available at\n<a href=\"http://nginx.com/\">nginx.com</a>.</p>\n\n<p><em>Thank you for using nginx.</em></p>\n</body>\n</html>"
0 commit comments