{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/18845","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/18845/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/18845/comments","events_url":"https://api.github.com/repos/golang/go/issues/18845/events","html_url":"https://github.com/golang/go/issues/18845","id":203888558,"number":18845,"title":"testing: -timeout affects benchmarks too (regression)","user":{"login":"evverx","id":10195800,"avatar_url":"https://avatars.githubusercontent.com/u/10195800?v=3","gravatar_id":"","url":"https://api.github.com/users/evverx","html_url":"https://github.com/evverx","followers_url":"https://api.github.com/users/evverx/followers","following_url":"https://api.github.com/users/evverx/following{/other_user}","gists_url":"https://api.github.com/users/evverx/gists{/gist_id}","starred_url":"https://api.github.com/users/evverx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evverx/subscriptions","organizations_url":"https://api.github.com/users/evverx/orgs","repos_url":"https://api.github.com/users/evverx/repos","events_url":"https://api.github.com/users/evverx/events{/privacy}","received_events_url":"https://api.github.com/users/evverx/received_events","type":"User","site_admin":false},"labels":[{"id":373399998,"url":"https://api.github.com/repos/golang/go/labels/NeedsFix","name":"NeedsFix","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/42","html_url":"https://github.com/golang/go/milestone/42","labels_url":"https://api.github.com/repos/golang/go/milestones/42/labels","id":1748849,"number":42,"title":"Go1.8Maybe","description":"","creator":{"login":"bradfitz","id":2621,"avatar_url":"https://avatars.githubusercontent.com/u/2621?v=3","gravatar_id":"","url":"https://api.github.com/users/bradfitz","html_url":"https://github.com/bradfitz","followers_url":"https://api.github.com/users/bradfitz/followers","following_url":"https://api.github.com/users/bradfitz/following{/other_user}","gists_url":"https://api.github.com/users/bradfitz/gists{/gist_id}","starred_url":"https://api.github.com/users/bradfitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradfitz/subscriptions","organizations_url":"https://api.github.com/users/bradfitz/orgs","repos_url":"https://api.github.com/users/bradfitz/repos","events_url":"https://api.github.com/users/bradfitz/events{/privacy}","received_events_url":"https://api.github.com/users/bradfitz/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":232,"state":"open","created_at":"2016-05-04T23:40:26Z","updated_at":"2017-02-01T22:10:50Z","due_on":"2017-02-16T08:00:00Z","closed_at":null},"comments":2,"created_at":"2017-01-29T19:08:14Z","updated_at":"2017-02-02T00:50:14Z","closed_at":"2017-01-31T17:37:10Z","body":"This regression was introduced in https://github.com/golang/go/commit/ead08e91f6468ab1c35c250ec487935103c580f6#diff-70e628298261565d825f7199d13042f2L758\r\n\r\n```go\r\npackage bench\r\n\r\nimport (\r\n        \"testing\"\r\n        \"time\"\r\n)\r\n\r\nfunc BenchmarkSleep10(b *testing.B) {\r\n        time.Sleep(10 * time.Second)\r\n}\r\n```\r\n\r\n```sh\r\ngo test -v -bench=. -timeout=1s\r\n```\r\n* `go version go1.7.5 linux/amd64`\r\n```\r\nBenchmarkSleep10-2             1        10000282918 ns/op\r\nPASS\r\n```\r\n* `go version devel +6bdb0c1 Sun Jan 29 00:49:56 2017 +0000 linux/amd64`\r\n```\r\npanic: test timed out after 1s\r\n```"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/276832182","html_url":"https://github.com/golang/go/issues/18845#issuecomment-276832182","issue_url":"https://api.github.com/repos/golang/go/issues/18845","id":276832182,"user":{"login":"gopherbot","id":8566911,"avatar_url":"https://avatars.githubusercontent.com/u/8566911?v=3","gravatar_id":"","url":"https://api.github.com/users/gopherbot","html_url":"https://github.com/gopherbot","followers_url":"https://api.github.com/users/gopherbot/followers","following_url":"https://api.github.com/users/gopherbot/following{/other_user}","gists_url":"https://api.github.com/users/gopherbot/gists{/gist_id}","starred_url":"https://api.github.com/users/gopherbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gopherbot/subscriptions","organizations_url":"https://api.github.com/users/gopherbot/orgs","repos_url":"https://api.github.com/users/gopherbot/repos","events_url":"https://api.github.com/users/gopherbot/events{/privacy}","received_events_url":"https://api.github.com/users/gopherbot/received_events","type":"User","site_admin":false},"created_at":"2017-02-02T00:50:14Z","updated_at":"2017-02-02T00:50:14Z","body":"CL https://golang.org/cl/36125 mentions this issue."}}
{"actor":{"display_login":"gopherbot"}}