testThreadInterrupt sometimes fails on builds.apache.org so give it some more time
Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/7ebf08cf Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/7ebf08cf Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/7ebf08cf Branch: refs/heads/GROOVY_2_4_X Commit: 7ebf08cf890b868e9c310ea89e80be016a10159f Parents: 237694d Author: pascalschumacher <pascalschumac...@gmx.net> Authored: Wed Oct 21 22:38:52 2015 +0200 Committer: pascalschumacher <pascalschumac...@gmx.net> Committed: Sat Oct 24 15:39:16 2015 +0200 ---------------------------------------------------------------------- src/spec/test/SaferScriptingASTTransformsTest.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/7ebf08cf/src/spec/test/SaferScriptingASTTransformsTest.groovy ---------------------------------------------------------------------- diff --git a/src/spec/test/SaferScriptingASTTransformsTest.groovy b/src/spec/test/SaferScriptingASTTransformsTest.groovy index 2b8a82d..55ff72b 100644 --- a/src/spec/test/SaferScriptingASTTransformsTest.groovy +++ b/src/spec/test/SaferScriptingASTTransformsTest.groovy @@ -53,7 +53,7 @@ while (true) { def t = Thread.start { shell.evaluate(userCode) } -t.join(500) // give at most 500ms for the script to complete +t.join(1000) // give at most 1000ms for the script to complete if (t.alive) { t.interrupt() }