Skip to content

Conversation

eatkins
Copy link
Contributor

@eatkins eatkins commented Oct 3, 2019

Sometimes scripted tasks hang in ci and they are effectively impossible
to debug. To workaround this, I add a five minute timeout to any
scripted test and print the log if the test fails.

@eed3si9n
Copy link
Member

eed3si9n commented Oct 3, 2019

[error] /home/travis/build/sbt/sbt/scripted-sbt-redux/src/main/scala/sbt/scriptedtest/BatchScriptRunner.scala:72:15: not found: type TimeoutException
[error]       case e: TimeoutException => throw new TestException(statement, "Command timed out", e)
[error]               ^
[error] one error found

Sometimes scripted tasks hang in ci and they are effectively impossible
to debug. To workaround this, I add a five minute timeout to any
scripted test and print the log if the test fails.
@eatkins
Copy link
Contributor Author

eatkins commented Oct 3, 2019

Whoops. Squashing error.

@eed3si9n eed3si9n merged commit ee471a2 into sbt:develop Oct 4, 2019
@eatkins eatkins deleted the scripted-timeout branch December 18, 2019 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants