go/src/os
Ian Lance Taylor c1ccae4d14 os: deflake TestFdReadRace by increasing timeout
This timeout will never be reached if the test passes, so it doesn't
much matter how long it is. The test is t.Parallel so on a slow system
1 second may occasionally not be enough, although on my laptop the
test takes about 0.02 seconds.

Fixes #34431

Change-Id: Ia2184e6be3747933bfe83aa6c8e1f77e6b1e0bba
Reviewed-on: https://go-review.googlesource.com/c/go/+/200764
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-10-11 19:58:27 +00:00
..
exec all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
signal all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
user all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
dir.go os: change Readdirnames doc to follow that of Readdir 2019-08-02 21:52:01 +00:00
dir_darwin.go syscall: avoid _getdirentries64 on darwin 2019-04-03 21:27:05 +00:00
dir_plan9.go
dir_unix.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
dir_windows.go
env.go os: treat "${}" in Expand like in Go 1.10 2018-06-29 21:07:28 +00:00
env_default.go os: pass correct environment when creating Windows processes 2019-05-16 10:24:10 +00:00
env_test.go os: treat "${}" in Expand like in Go 1.10 2018-06-29 21:07:28 +00:00
env_unix_test.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
env_windows.go os: pass correct environment when creating Windows processes 2019-05-16 10:24:10 +00:00
error.go os: don't consult Is methods on non-syscall error types 2019-08-02 21:09:50 +00:00
error_errno.go os: don't consult Is methods on non-syscall error types 2019-08-02 21:09:50 +00:00
error_plan9.go os: don't consult Is methods on non-syscall error types 2019-08-02 21:09:50 +00:00
error_posix.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
error_test.go os: don't consult Is methods on non-syscall error types 2019-08-02 21:09:50 +00:00
error_unix_test.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
error_windows_test.go
example_test.go os: don't leak file in ExampleOpenFile_append failure path 2019-04-11 21:47:52 +00:00
exec.go
exec_plan9.go os/exec: less allocs in the common case 2019-03-04 09:45:46 +00:00
exec_posix.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
exec_unix.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
exec_windows.go Revert "os: remove sleep in windows Process.Wait" 2018-11-09 23:24:35 +00:00
executable.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
executable_darwin.go os: add check for empty executable path on darwin 2018-08-02 20:31:25 +00:00
executable_freebsd.go
executable_path.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
executable_plan9.go
executable_procfs.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
executable_solaris.go runtime: parse auxv for page size and executable name on Solaris 2018-04-03 15:49:45 +00:00
executable_test.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
executable_windows.go
export_test.go os: fix RemoveAll hangs on large directory 2019-04-10 20:14:25 +00:00
export_unix_test.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
export_windows_test.go
fifo_test.go os: skip TestFifoEOF on android 2018-06-14 13:41:57 +00:00
file.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
file_plan9.go doc: clarify safety of multiple and concurent os.(*File).Close() calls 2019-06-05 21:21:59 +00:00
file_posix.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
file_unix.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
file_windows.go doc: clarify safety of multiple and concurent os.(*File).Close() calls 2019-06-05 21:21:59 +00:00
getwd.go
getwd_darwin.go
os_test.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
os_unix_test.go os: deflake TestNewFileNonBlock 2019-05-30 22:39:04 +00:00
os_windows_test.go src: gofmt -s 2019-09-09 18:57:05 +00:00
path.go os: fix RemoveAll hangs on large directory 2019-04-10 20:14:25 +00:00
path_plan9.go
path_test.go os: add support for long path names on unix RemoveAll 2018-10-31 13:55:01 +00:00
path_unix.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
path_windows.go
path_windows_test.go all: use strings.ReplaceAll and bytes.ReplaceAll where applicable 2018-09-26 22:14:25 +00:00
pipe2_bsd.go Revert "syscall, os: use pipe2 syscall on DragonflyBSD instead of pipe" 2018-08-26 21:30:35 +00:00
pipe_bsd.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
pipe_linux.go
pipe_test.go os: deflake TestFdReadRace by increasing timeout 2019-10-11 19:58:27 +00:00
proc.go os: document exit status range value 2019-03-27 04:37:34 +00:00
rawconn.go os: add SyscallConn method for os.File 2018-12-27 16:36:34 +00:00
rawconn_test.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
removeall_at.go os: enable the close-on-exec flag for openFdAt 2019-08-01 20:37:08 +00:00
removeall_noat.go os: fix RemoveAll hangs on large directory 2019-04-10 20:14:25 +00:00
removeall_test.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
stat.go
stat_aix.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
stat_darwin.go
stat_dragonfly.go
stat_freebsd.go syscall: revert to pre-FreeBSD 10 / POSIX-2008 timespec field names in Stat_t on FreeBSD 2018-12-30 19:36:52 +00:00
stat_js.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
stat_linux.go
stat_netbsd.go
stat_openbsd.go
stat_plan9.go os: fix TestDevNullFile on Plan 9 2018-03-27 05:30:50 +00:00
stat_solaris.go
stat_test.go os: use CreateFile for Stat of symlinks 2018-11-02 07:30:03 +00:00
stat_unix.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
stat_windows.go os: return an error when the argument of Mkdir on Windows is os.DevNull 2019-08-29 09:53:56 +00:00
sticky_bsd.go os,syscall: implement functions related to uid, gid and pid on js/wasm 2019-03-22 15:40:37 +00:00
sticky_notbsd.go os,syscall: implement functions related to uid, gid and pid on js/wasm 2019-03-22 15:40:37 +00:00
str.go
sys.go
sys_aix.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
sys_bsd.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
sys_js.go os: add js/wasm architecture 2018-06-01 05:18:38 +00:00
sys_linux.go os: remove superfluous comments 2018-05-02 14:41:57 +00:00
sys_plan9.go os: remove superfluous comments 2018-05-02 14:41:57 +00:00
sys_solaris.go
sys_unix.go os: add AIX operating system 2018-10-11 15:41:04 +00:00
sys_windows.go
timeout_test.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
types.go os: add ModeCharDevice to ModeType 2018-09-13 09:52:57 +00:00
types_plan9.go
types_unix.go
types_windows.go os: fix windows Lstat missing name for some files 2019-03-20 08:35:29 +00:00
wait_unimp.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
wait_wait6.go all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00
wait_waitid.go all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00