]> Cypherpunks repositories - gostls13.git/commitdiff
os: TestPipeThreads: remove openbsd special case
authorKir Kolyshkin <kolyshkin@gmail.com>
Sun, 15 Sep 2024 22:21:43 +0000 (15:21 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 17 Sep 2024 15:51:23 +0000 (15:51 +0000)
Since CL 393354 this should no longer be necessary.

Change-Id: Ifec4ef483f9c06d9b49827327dd6708db146d886
Reviewed-on: https://go-review.googlesource.com/c/go/+/613157
Run-TryBot: Kirill Kolyshkin <kolyshkin@gmail.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
TryBot-Result: Gopher Robot <gobot@golang.org>

src/os/os_test.go

index 6a921328451010713e74a4ad59a96d6e8a78c366..ad024b6fd04ce92138966e6747479b29a6b77e78 100644 (file)
@@ -2639,11 +2639,6 @@ func TestPipeThreads(t *testing.T) {
 
        threads := 100
 
-       // OpenBSD has a low default for max number of files.
-       if runtime.GOOS == "openbsd" {
-               threads = 50
-       }
-
        r := make([]*File, threads)
        w := make([]*File, threads)
        for i := 0; i < threads; i++ {