]> Cypherpunks repositories - gostls13.git/commit
os: test overlapped pipes deadlines on Windows
authorqmuntal <quimmuntal@gmail.com>
Fri, 25 Apr 2025 08:12:28 +0000 (10:12 +0200)
committerQuim Muntal <quimmuntal@gmail.com>
Wed, 30 Apr 2025 15:49:12 +0000 (08:49 -0700)
commit3cebfb678bf27ed30844512c0d78329d0b0ded53
treeca5850dedda995fff2c684d5e15f03f7dfd23d02
parent06751c455d89e09d29affc343ca9e38a02e2f5a2
os: test overlapped pipes deadlines on Windows

NewFile recently added support for overlapped I/O on Windows,
which allows us to set deadlines on them, but the test coverage for
this new feature is not exhaustive.

Modify the existing pipe deadline tests to also exercise named
overlapped pipes.

Updates #19098.

Cq-Include-Trybots: luci.golang.try:gotip-windows-amd64-race,gotip-windows-amd64-longtest,gotip-windows-arm64
Change-Id: I86d284d9fb054c24959045a922cf84feeda5b5f0
Reviewed-on: https://go-review.googlesource.com/c/go/+/668095
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
src/os/timeout_test.go
src/os/timeout_unix_test.go [new file with mode: 0644]
src/os/timeout_windows_test.go [new file with mode: 0644]