Skip to content

Instantly share code, notes, and snippets.

@pk11
Created October 9, 2012 15:37
Show Gist options
  • Save pk11/3859587 to your computer and use it in GitHub Desktop.
Save pk11/3859587 to your computer and use it in GitHub Desktop.
Good news, I've found the problem, a simple race condition.
The issue was in Promise.scala, the test was finishing before the thread
that had initialised the promise subsystem had had a chance to set the
underlyingSystem Option, so when the test
shutdown code went to shut down the promise system, it found no system to shutdown.
Synchronizing all access to that global var solved the problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment