mirror of https://github.com/sbt/sbt.git
Some of the sbt scripted tests somewhat frequently hang in CI. I added a patch that printed a stack trace of the sbt process every 30 seconds. I discovered that the main thread was stuck in DefaultBackgroundJobService shutdown. To avoid the hangs, I updated the awaitTermination methods to take a timeout parameter and we timeout shutdown if 10 seconds have elapsed. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||