Skip to content

Commit

Permalink
test: pass args dynamic to e2e
Browse files Browse the repository at this point in the history
Signed-off-by: chenk <[email protected]>
  • Loading branch information
chen-keinan committed Jun 4, 2024
1 parent 94af089 commit cdfa53e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/job-update.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand All @@ -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)
}
Expand Down

0 comments on commit cdfa53e

Please sign in to comment.