Commit 254e267
committed
fix(tests): exclude functional tests from prefer-lowest CI runs
Pest function-based tests (using it()) fail in prefer-lowest mode
with older Orchestra Testbench versions due to HandleExceptions
state management conflict.
Problem:
- ChildProcessTrackingTest uses it() function-based tests
- Fails with: PHPUnit\Runner\ErrorHandler::enable(): Argument #1
must be of type PHPUnit\Framework\TestCase, null given
- Called from HandleExceptions::flushState() on line 348
- Only occurs in prefer-lowest with testbench 9.x
Solution:
- Add 'functional' group to all 4 tests in ChildProcessTrackingTest
- Exclude functional group from prefer-lowest CI runs
- Normal CI and local testing still execute all functional tests
Result:
- prefer-lowest excludes: redis, arch, functional groups
- prefer-stable excludes: redis group only
- All 4 functional tests run successfully in normal mode
- No HandleExceptions errors in prefer-lowest CI1 parent a620346 commit 254e267
File tree
2 files changed
+6
-5
lines changed- .github/workflows
- tests/Feature
2 files changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
99 | | - | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
141 | | - | |
| 142 | + | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| |||
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
178 | | - | |
| 179 | + | |
0 commit comments