diff --git a/command/apply_test.go b/command/apply_test.go index c831c82970..21a063a395 100644 --- a/command/apply_test.go +++ b/command/apply_test.go @@ -61,6 +61,7 @@ func TestApply(t *testing.T) { func TestApply_parallelism(t *testing.T) { provider := testProvider() + statePath := testTempFile(t) // This blocks all the appy functions. We close it when we exit so // they end quickly after this test finishes. @@ -91,6 +92,7 @@ func TestApply_parallelism(t *testing.T) { par := uint64(5) args := []string{ + "-state", statePath, fmt.Sprintf("-parallelism=%d", par), testFixturePath("parallelism"), }