Skip to content

Commit 6feeaf2

Browse files
gautamg795Convex, Inc.
authored and
Convex, Inc.
committed
Run model tests and proptests at lower concurrency in CI (#27364)
This seems to offer a modest speedup, between 20-40s depending on the machine type. The model tests hammer local postgres too quickly and use up all available disk I/O, and proptests peg the CPU. By limiting the number that can be running from each group, we are able to make forward progress a bit faster. GitOrigin-RevId: d6c7608166427780b3dfe7ef6194adf283a324de
1 parent 774441f commit 6feeaf2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.config/nextest.toml

+11
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,14 @@ path = "junit.xml"
55
fail-fast = false
66
failure-output = "immediate-final"
77

8+
[[profile.ci.overrides]]
9+
filter = 'test(/model::tests::model_tests::/)'
10+
test-group = 'model-tests'
11+
12+
[[profile.ci.overrides]]
13+
filter = 'test(/roundtrips/) or test(/proptest/)'
14+
test-group = 'proptests'
15+
16+
[test-groups]
17+
model-tests = { max-threads = 4 }
18+
proptests = { max-threads = 4 }

0 commit comments

Comments
 (0)