Skip to content

Commit

Permalink
e2e: don't use initializer for getdents test
Browse files Browse the repository at this point in the history
  • Loading branch information
burgerdev committed Jun 26, 2024
1 parent ad348da commit 6a64bec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion e2e/getdents/getdents_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ func TestGetDEnts(t *testing.T) {
// Call generate to patch the runtime class.
require.True(t, t.Run("generate", func(t *testing.T) {
require := require.New(t)
args := append([]string{"--workspace-dir", ct.WorkDir}, path.Join(ct.WorkDir, "resources.yaml"))
args := []string{
"--workspace-dir", ct.WorkDir,
"--skip-initializer",
path.Join(ct.WorkDir, "resources.yaml"),
}
generate := cmd.NewGenerateCmd()
generate.Flags().String("workspace-dir", "", "") // Make generate aware of root flags
generate.SetArgs(args)
Expand Down

0 comments on commit 6a64bec

Please sign in to comment.