Skip to content

Commit

Permalink
chore: parallelize test by starting subshell
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaRedHand committed Jan 21, 2025
1 parent d0682b1 commit 146deb8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/cmds/start_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,9 @@ func TestStartIncredibleSquaring(t *testing.T) {
}

func TestStartLocalHelloWorld(t *testing.T) {
// NOTE: we don't run t.Parallel() here because we need to change the working directory
goToDir(t, "../../")

t.Parallel()
// Clone the hello-world-avs repo
err := exec.Command("make", "examples/hello-world-avs").Run()
err := exec.Command("sh", "-s", "cd ../../ && make examples/hello-world-avs").Run()
require.NoError(t, err, "Failed to make hello-world-avs repo")

configFile := filepath.Join(examplesDir, "hello_world_local.yaml")
Expand Down

0 comments on commit 146deb8

Please sign in to comment.