Skip to content

Commit bb32261

Browse files
committed
Increase request timeout
1 parent fdc6613 commit bb32261

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

tests/framework/timeout.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func DefaultTimeoutConfig() TimeoutConfig {
4949
DeleteNamespaceTimeout: 150 * time.Second,
5050
GetTimeout: 10 * time.Second,
5151
ManifestFetchTimeout: 10 * time.Second,
52-
RequestTimeout: 10 * time.Second,
52+
RequestTimeout: 30 * time.Second,
5353
ContainerRestartTimeout: 10 * time.Second,
5454
GetLeaderLeaseTimeout: 60 * time.Second,
5555
GetStatusTimeout: 60 * time.Second,

tests/suite/manifests/snippets-filter/valid-sf.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ metadata:
1919
name: grpc-all-contexts
2020
spec:
2121
snippets:
22-
# - context: main
23-
# value: worker_shutdown_timeout 120s;
22+
- context: main
23+
value: worker_shutdown_timeout 120s;
2424
- context: http
2525
value: types_hash_bucket_size 64;
2626
- context: http.server

tests/suite/snippets_filter_test.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -177,16 +177,16 @@ var _ = Describe("SnippetsFilter", Ordered, Label("functional", "snippets-filter
177177
},
178178
}),
179179
Entry("GRPCRoute", []framework.ExpectedNginxField{
180-
// {
181-
// Directive: "worker_shutdown_timeout",
182-
// Value: "120s",
183-
// File: fmt.Sprintf("%s%s", mainContext, grpcRouteSuffix),
184-
// },
185-
// {
186-
// Directive: "include",
187-
// Value: fmt.Sprintf("%s%s", mainContext, grpcRouteSuffix),
188-
// File: "main.conf",
189-
// },
180+
{
181+
Directive: "worker_shutdown_timeout",
182+
Value: "120s",
183+
File: fmt.Sprintf("%s%s", mainContext, grpcRouteSuffix),
184+
},
185+
{
186+
Directive: "include",
187+
Value: fmt.Sprintf("%s%s", mainContext, grpcRouteSuffix),
188+
File: "main.conf",
189+
},
190190
{
191191
Directive: "types_hash_bucket_size",
192192
Value: "64",

0 commit comments

Comments
 (0)