diff -Nru golang-github-robertkrimen-otto-0.0~git20180617.15f95af/debian/changelog golang-github-robertkrimen-otto-0.0~git20180617.15f95af/debian/changelog --- golang-github-robertkrimen-otto-0.0~git20180617.15f95af/debian/changelog 2019-01-25 11:57:13.000000000 +0000 +++ golang-github-robertkrimen-otto-0.0~git20180617.15f95af/debian/changelog 2019-02-19 17:04:15.000000000 +0000 @@ -1,3 +1,9 @@ +golang-github-robertkrimen-otto (0.0~git20180617.15f95af-2) unstable; urgency=medium + + * d/patches: Add patch for extending the testing timeout + + -- Jongmin Kim Wed, 20 Feb 2019 02:04:15 +0900 + golang-github-robertkrimen-otto (0.0~git20180617.15f95af-1) unstable; urgency=medium * Initial release (Closes: #904701) diff -Nru golang-github-robertkrimen-otto-0.0~git20180617.15f95af/debian/patches/extend-testing-timeout.patch golang-github-robertkrimen-otto-0.0~git20180617.15f95af/debian/patches/extend-testing-timeout.patch --- golang-github-robertkrimen-otto-0.0~git20180617.15f95af/debian/patches/extend-testing-timeout.patch 1970-01-01 00:00:00.000000000 +0000 +++ golang-github-robertkrimen-otto-0.0~git20180617.15f95af/debian/patches/extend-testing-timeout.patch 2019-02-19 17:04:15.000000000 +0000 @@ -0,0 +1,18 @@ +Description: Extend testing timeout + For slow computing machines, 2 seconds is too short to PASS the testing. + This patch extends the timeout to 20 seconds. +Forwarded: https://github.com/robertkrimen/otto/pull/340 +Author: Jongmin Kim +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/testing_test.go ++++ b/testing_test.go +@@ -11,7 +11,7 @@ import ( + + func tt(t *testing.T, arguments ...func()) { + halt := errors.New("A test was taking too long") +- timer := time.AfterFunc(2*time.Second, func() { ++ timer := time.AfterFunc(20*time.Second, func() { + panic(halt) + }) + defer func() { diff -Nru golang-github-robertkrimen-otto-0.0~git20180617.15f95af/debian/patches/series golang-github-robertkrimen-otto-0.0~git20180617.15f95af/debian/patches/series --- golang-github-robertkrimen-otto-0.0~git20180617.15f95af/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ golang-github-robertkrimen-otto-0.0~git20180617.15f95af/debian/patches/series 2019-02-19 17:04:15.000000000 +0000 @@ -0,0 +1 @@ +extend-testing-timeout.patch