-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wait for resources release before ending tests
Fixes #473 A java Semaphore is created initially with 0 permits. An additional cleanup Resource is composed around the resources required by the tests. When the test Resources complete, the clean Resource releases a permit on the Semaphore. SBTTask waits for this Semaphore to aquire a permit before wrapping things up. Kudos to @Baccata for help with the fix.
- Loading branch information
1 parent
864a8f9
commit e18af77
Showing
2 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters