mirror of
https://github.com/golang/go
synced 2024-11-25 17:57:56 -07:00
os: TestPipeThreads: remove openbsd special case
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>
This commit is contained in:
parent
81c92352a7
commit
41ca2637d4
@ -2639,11 +2639,6 @@ func TestPipeThreads(t *testing.T) {
|
|||||||
|
|
||||||
threads := 100
|
threads := 100
|
||||||
|
|
||||||
// OpenBSD has a low default for max number of files.
|
|
||||||
if runtime.GOOS == "openbsd" {
|
|
||||||
threads = 50
|
|
||||||
}
|
|
||||||
|
|
||||||
r := make([]*File, threads)
|
r := make([]*File, threads)
|
||||||
w := make([]*File, threads)
|
w := make([]*File, threads)
|
||||||
for i := 0; i < threads; i++ {
|
for i := 0; i < threads; i++ {
|
||||||
|
Loading…
Reference in New Issue
Block a user