Commit 05def83
authored
fix(test-tests): prevent race condition in gentest tests w/xdist (#2009)
* fix(gentest): capture ruff stderr in format error messages
Include ruff's stderr output in exceptions when formatting fails,
enabling diagnosis of the root cause in CI failures.
* fix(gentest): disable ruff cache to prevent parallel test failures
Add --no-cache flag to ruff invocation to prevent potential race
conditions when pytest-xdist runs tests with multiple workers sharing
the same .ruff_cache directory.1 parent f391a0c commit 05def83
1 file changed
Lines changed: 17 additions & 15 deletions
Lines changed: 17 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
100 | 101 | | |
101 | | - | |
102 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
0 commit comments