cloudflare / cloudflare/workerd

Add timeout option to tests

Open
#6,177 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
8.7k
Forks
739
Avg merge
2d 20h
Merged PRs (30d)
174

Description

Something like this would help us avoid setting `disabledTests: true` for web-platform tests that are hanging due to a harness bug.

```
export const myTest = {
timeout: 10_000, // in ms.
async test() {
scheduler.wait(11_000);
}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.