Repository navigation
Commit c6955d8
acc: fix flaky selftest/timeout on Windows (#7255)
## Changes
Raise the timeout in `acceptance/selftest/timeout` from 500ms to 2s. The
script still sleeps 4s, so it still checks that the script is killed.
## Why
On a slow Windows runner bash did not reach `trace sleep 4` within
500ms, so the expected `>>> sleep 4` line was missing:
```
expected: "\n>>> sleep 4\n\nError: Test script killed due to a timeout (500ms)\n"
actual : "\nError: Test script killed due to a timeout (500ms)\n"
```
Dashboard: test
[acceptance.TestAccept/selftest/timeout](http://go/cli/dashboard/test/acceptance.TestAccept/selftest/timeout?main=1&pr=1&end=2026-11-03T00:00:00Z&last=33d);
error
[1044](http://go/cli/dashboard/error/1044?main=1&pr=1&end=2026-11-03T00:00:00Z&last=33d)
(`Incomplete output`, 42 runs).
```
# 1044, task test (windows, direct)
Error: Not equal:
expected: "\n>>> sleep 4\n\nError: Test script killed due to a timeout (500ms)\n"
actual : "\nError: Test script killed due to a timeout (500ms)\n"
```
## Tests
Regenerated; passes locally.
This pull request and its description were written by Isaac.
Co-authored-by: Isaac <no-reply@databricks.com>1 parent 629df6a commit c6955d8
2 files changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
0 commit comments