Skip to content

Commit 757cb48

Browse files
committed
fix the outdated syntax
Signed-off-by: Chengwei Guo <[email protected]>
1 parent 6e62c1f commit 757cb48

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/e2e/fluentd/cfgrender_suite_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package fluentd
22

33
import (
4+
"context"
45
"fmt"
56
"os"
67
"testing"
@@ -22,7 +23,7 @@ var k8sClient client.Client
2223
func TestCompareFluentdMainAppConfig(t *testing.T) {
2324
RegisterFailHandler(Fail)
2425

25-
BeforeSuite(func() {
26+
BeforeSuite(func(ctx context.Context) {
2627
path := os.Getenv("TESTCONFIG")
2728
if path == "" {
2829
path = fmt.Sprintf("%s/.kube/config", os.Getenv("HOME"))
@@ -46,7 +47,7 @@ func TestCompareFluentdMainAppConfig(t *testing.T) {
4647
Expect(k8sClient).NotTo(BeNil())
4748

4849
_, _ = fmt.Fprintf(GinkgoWriter, "%s: Info: Setup Suite Execution\n", time.Now().Format(time.StampMilli))
49-
}, 60)
50+
}, NodeTimeout(60*time.Second))
5051

5152
AfterSuite(func() {
5253
By("After Suite Execution")

0 commit comments

Comments
 (0)