From cdfa53ed293900c65b3eca19c47ecf7956b1c06f Mon Sep 17 00:00:00 2001 From: chenk Date: Tue, 4 Jun 2024 18:26:09 +0300 Subject: [PATCH] test: pass args dynamic to e2e Signed-off-by: chenk --- tests/e2e/job-update.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/job-update.go b/tests/e2e/job-update.go index 1e38bb5..935c626 100644 --- a/tests/e2e/job-update.go +++ b/tests/e2e/job-update.go @@ -60,7 +60,7 @@ func main() { job.Spec.Template.Spec.Containers[0].Args[index+1] = cce case "--node-commands": - cc, err := os.ReadFile("./commands.yaml") + cc, err := os.ReadFile("./tests/e2e/commands.yaml") if err != nil { panic(err) } @@ -75,7 +75,7 @@ func main() { if err != nil { panic(err) } - err = os.WriteFile("./job-update.yaml", b, 0600) + err = os.WriteFile("./tests/e2e/job-update.yaml", b, 0600) if err != nil { panic(err) }