Skip to content

Commit

Permalink
OCPBUGS-14914: e2e - test tunnel and server timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
alebedev87 committed Jan 8, 2024
1 parent 7a44e03 commit a9248aa
Show file tree
Hide file tree
Showing 27 changed files with 3,853 additions and 22 deletions.
2 changes: 2 additions & 0 deletions cmd/ingress-operator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
h2specclient "github.com/openshift/cluster-ingress-operator/test/h2spec"
httphealthcheck "github.com/openshift/cluster-ingress-operator/test/http"
http2testserver "github.com/openshift/cluster-ingress-operator/test/http2"
wstestserver "github.com/openshift/cluster-ingress-operator/test/ws"
)

var log = logf.Logger.WithName("main")
Expand All @@ -36,6 +37,7 @@ func main() {
},
})
rootCmd.AddCommand(h2specclient.NewClientCommand())
rootCmd.AddCommand(wstestserver.NewServeWebSocketCommand())

if err := rootCmd.Execute(); err != nil {
log.Error(err, "error")
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ require (
github.com/go-logr/logr v1.2.4
github.com/go-logr/zapr v1.2.4
github.com/google/go-cmp v0.5.9
github.com/gorilla/websocket v1.5.1
github.com/jongio/azidext/go/azidext v0.4.0
github.com/maistra/istio-operator v0.0.0-20230322122339-793794762e67
github.com/openshift/api v3.9.1-0.20190924102528-32369d4db2ad+incompatible
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,8 @@ github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB7
github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY=
github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY=
github.com/gosuri/uitable v0.0.4/go.mod h1:tKR86bXuXPZazfOTG1FIzvjIdXzd0mo4Vtn16vt0PJo=
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA=
github.com/gregjones/httpcache v0.0.0-20181110185634-c63ab54fda8f/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA=
Expand Down
2 changes: 2 additions & 0 deletions test/e2e/all_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ func TestAll(t *testing.T) {
t.Run("TestRouteMetricsControllerRouteAndNamespaceSelector", TestRouteMetricsControllerRouteAndNamespaceSelector)
t.Run("TestSetIngressControllerResponseHeaders", TestSetIngressControllerResponseHeaders)
t.Run("TestSetRouteResponseHeaders", TestSetRouteResponseHeaders)
t.Run("TestServerTimeout", TestServerTimeout)
t.Run("TestTunnelTimeout", TestTunnelTimeout)
})

t.Run("serial", func(t *testing.T) {
Expand Down
Loading

0 comments on commit a9248aa

Please sign in to comment.