scripted tests gets stuck
eed3si9n opened this issue · comments
steps
- Use util 0.1.0-M9 in sbt/sbt
- Have some error in scripted test such that the build doesn't load
problem
The scripted gets stuck forever.
expectation
scripted comes back with error.
notes
When the build doesn't load sbt waits for the user's input using SimpleReader.readLine:
val result = (SimpleReader.readLine("Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? ") getOrElse Quit).toLowerCase(Locale.ENGLISH)
Thread sleep injection seem to interfere with this. Work around is to not to inject thread sleep by default.