Skip to content

Commit

Permalink
Disable parallel testing for autoenroll script
Browse files Browse the repository at this point in the history
Because Python coverage can't be parallelized, avoid running these tests
in parallel.
  • Loading branch information
GabrielNagy committed Jul 28, 2023
1 parent c5391ee commit 7603442
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/policies/certificate/cert-autoenroll_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ const advancedConfigurationJSON = `[
]`

func TestCertAutoenrollScript(t *testing.T) {
t.Parallel()

coverageOn := testutils.PythonCoverageToGoFormat(t, "cert-autoenroll", false)
certAutoenrollCmd := "./cert-autoenroll"
if coverageOn {
Expand Down Expand Up @@ -108,8 +106,6 @@ func TestCertAutoenrollScript(t *testing.T) {
tc := tc
name := name
t.Run(name, func(t *testing.T) {
t.Parallel()

tmpdir := t.TempDir()
stateDir := filepath.Join(tmpdir, "state")
privateDir := filepath.Join(tmpdir, "private")
Expand Down

0 comments on commit 7603442

Please sign in to comment.