Skip to content

Commit a9cf944

Browse files
ci: env test remediation (#1436)
* nbParallell * trigger build * Update frankenphp_test.go --------- Co-authored-by: Alliballibaba <alliballibaba@gmail.com> Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>
1 parent 8d9ce15 commit a9cf944

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

frankenphp_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,11 +672,12 @@ func TestFailingWorker(t *testing.T) {
672672
}
673673

674674
func TestEnv(t *testing.T) {
675-
testEnv(t, &testOptions{})
675+
testEnv(t, &testOptions{nbParallelRequests:1})
676676
}
677677
func TestEnvWorker(t *testing.T) {
678-
testEnv(t, &testOptions{workerScript: "env/test-env.php"})
678+
testEnv(t, &testOptions{nbParallelRequests:1, workerScript: "env/test-env.php"})
679679
}
680+
// testEnv cannot be run in parallel due to https://github.com/golang/go/issues/63567
680681
func testEnv(t *testing.T, opts *testOptions) {
681682
assert.NoError(t, os.Setenv("EMPTY", ""))
682683

0 commit comments

Comments
 (0)