Commit 5952aad
committed
fix: drop t.Parallel() from dynamic tests that now use t.Setenv via Integration(t)
t.Setenv and t.Parallel are mutually exclusive on the same *testing.T regardless of call order (Go panics either way), not just when Setenv follows Parallel as previously assumed. TestSDKv1Provider, TestConflictsWithNamePrefixOnly, TestConflictsWithBothUserSpecified, and TestRandomCreate all call Integration(t) (or t.Setenv directly), which now sets an env var, so they can no longer also call t.Parallel().1 parent 3f7d78b commit 5952aad
2 files changed
Lines changed: 11 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
24 | 25 | | |
25 | | - | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
60 | 61 | | |
61 | | - | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
723 | 723 | | |
724 | 724 | | |
725 | 725 | | |
726 | | - | |
727 | | - | |
| 726 | + | |
| 727 | + | |
728 | 728 | | |
729 | | - | |
730 | 729 | | |
731 | 730 | | |
732 | 731 | | |
| |||
787 | 786 | | |
788 | 787 | | |
789 | 788 | | |
790 | | - | |
791 | | - | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
792 | 792 | | |
793 | | - | |
794 | 793 | | |
795 | 794 | | |
796 | 795 | | |
| |||
0 commit comments