]> Cypherpunks repositories - gostls13.git/commit
internal/poll: remove outdated tests
authorqmuntal <quimmuntal@gmail.com>
Mon, 14 Apr 2025 09:22:04 +0000 (11:22 +0200)
committerQuim Muntal <quimmuntal@gmail.com>
Fri, 18 Apr 2025 05:15:25 +0000 (22:15 -0700)
commitb89988c5ca47a6a2022db689fa882134397d0f32
treee635db923c90a59f817632c0892a4fc9a5be5f6b
parent05ed8a00e07e93fd40cf8269bdf16d6d2b34740d
internal/poll: remove outdated tests

TestFileFdsAreInitialised and TestSerialFdsAreInitialised were added
to ensure handles passed to os.NewFile were not added to the runtime
poller. This used to be problematic because the poller could crash
if an external I/O event was received (see #21172).

This is not an issue anymore since CL 482495 and #19098.

Change-Id: I292ceae27724fefe6f438a398ebfe351dd5231d1
Reviewed-on: https://go-review.googlesource.com/c/go/+/665315
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
src/internal/poll/fd_windows_test.go