{"action":"created","issue":{"url":"https://api.github.com/repos/onsi/ginkgo/issues/229","repository_url":"https://api.github.com/repos/onsi/ginkgo","labels_url":"https://api.github.com/repos/onsi/ginkgo/issues/229/labels{/name}","comments_url":"https://api.github.com/repos/onsi/ginkgo/issues/229/comments","events_url":"https://api.github.com/repos/onsi/ginkgo/issues/229/events","html_url":"https://github.com/onsi/ginkgo/issues/229","id":137382832,"number":229,"title":"Ginkgo timeouts array: Undocumented functionality?","user":{"login":"jayunit100","id":826111,"avatar_url":"https://avatars.githubusercontent.com/u/826111?v=3","gravatar_id":"","url":"https://api.github.com/users/jayunit100","html_url":"https://github.com/jayunit100","followers_url":"https://api.github.com/users/jayunit100/followers","following_url":"https://api.github.com/users/jayunit100/following{/other_user}","gists_url":"https://api.github.com/users/jayunit100/gists{/gist_id}","starred_url":"https://api.github.com/users/jayunit100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayunit100/subscriptions","organizations_url":"https://api.github.com/users/jayunit100/orgs","repos_url":"https://api.github.com/users/jayunit100/repos","events_url":"https://api.github.com/users/jayunit100/events{/privacy}","received_events_url":"https://api.github.com/users/jayunit100/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-29T21:32:37Z","updated_at":"2016-03-01T02:58:42Z","closed_at":null,"body":"The ginkgo timeouts array that is sent to `It()` clearly has a purpose, but the parseTimeout function seems to simply grab the first timeout.\r\n\r\nWhat is the purpose of the var args input for ginkgo timeouts?   Maybe its just a  legacy function to keep backward compat?\r\n\r\n@onsi maybe we should panic if folks send more than one arg (or i understand it incorrectly)."},"comment":{"url":"https://api.github.com/repos/onsi/ginkgo/issues/comments/190511452","html_url":"https://github.com/onsi/ginkgo/issues/229#issuecomment-190511452","issue_url":"https://api.github.com/repos/onsi/ginkgo/issues/229","id":190511452,"user":{"login":"robdimsdale","id":7230694,"avatar_url":"https://avatars.githubusercontent.com/u/7230694?v=3","gravatar_id":"","url":"https://api.github.com/users/robdimsdale","html_url":"https://github.com/robdimsdale","followers_url":"https://api.github.com/users/robdimsdale/followers","following_url":"https://api.github.com/users/robdimsdale/following{/other_user}","gists_url":"https://api.github.com/users/robdimsdale/gists{/gist_id}","starred_url":"https://api.github.com/users/robdimsdale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robdimsdale/subscriptions","organizations_url":"https://api.github.com/users/robdimsdale/orgs","repos_url":"https://api.github.com/users/robdimsdale/repos","events_url":"https://api.github.com/users/robdimsdale/events{/privacy}","received_events_url":"https://api.github.com/users/robdimsdale/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T02:58:42Z","updated_at":"2016-03-01T02:58:42Z","body":"@jayunit100 looking at the [parseTimeout function](https://github.com/onsi/ginkgo/blob/master/ginkgo_dsl.go#L552-L558) it appears you're correct.\r\n\r\nI have no context on why this is the case, but I also don't think panicking here is a good idea either.\r\n\r\nHave you run into issues passing multiple timeouts into the `It()` method? If so, what were you expecting to happen?"}}