Skip to content

Commit eab00e7

Browse files
committed
test(e2e): restore watch fixture aggregateTimeout to original 10ms
The earlier bumps (10 -> 100 -> 500 -> 3000) were attempts to widen the window before the underlying rspack_watcher mtime-gate race had been identified. With the rspack-side fix landed in the canary (@rspack-canary/core@2.0.4-canary-efffb233-...), the race is gone and the timeout no longer needs to mask it. Reverting to the original value keeps watch-mode rerun latency snappy.
1 parent 3df5e41 commit eab00e7

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

e2e/filter/fixtures-related-dynamic/rstest.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default defineConfig({
44
tools: {
55
rspack: {
66
watchOptions: {
7-
aggregateTimeout: 3000,
7+
aggregateTimeout: 10,
88
},
99
},
1010
},

e2e/watch/fixtures-dynamic/rstest.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default defineConfig({
44
tools: {
55
rspack: {
66
watchOptions: {
7-
aggregateTimeout: 3000,
7+
aggregateTimeout: 10,
88
},
99
},
1010
},

e2e/watch/fixtures-setup/rstest.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default defineConfig({
77
tools: {
88
rspack: {
99
watchOptions: {
10-
aggregateTimeout: 3000,
10+
aggregateTimeout: 10,
1111
},
1212
},
1313
},

e2e/watch/fixtures-shortcuts/rstest.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default defineConfig({
99
tools: {
1010
rspack: {
1111
watchOptions: {
12-
aggregateTimeout: 3000,
12+
aggregateTimeout: 10,
1313
},
1414
},
1515
},

e2e/watch/fixtures/rstest.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default defineConfig({
44
tools: {
55
rspack: {
66
watchOptions: {
7-
aggregateTimeout: 3000,
7+
aggregateTimeout: 10,
88
},
99
},
1010
},

0 commit comments

Comments
 (0)