Skip to content

Commit ec9faa3

Browse files
authored
[ty] Run file watching tests serial when using nextest (#20918)
1 parent 7155a62 commit ec9faa3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.config/nextest.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# Define serial test group for running tests sequentially.
2+
[test-groups]
3+
serial = { max-threads = 1 }
4+
5+
# Run ty file watching tests sequentially to avoid race conditions.
6+
[[profile.default.overrides]]
7+
filter = 'binary(file_watching)'
8+
test-group = 'serial'
9+
110
[profile.ci]
211
# Print out output for failing tests as soon as they fail, and also at the end
312
# of the run (for easy scrollability).

0 commit comments

Comments
 (0)