We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3215f17 commit bfeda0dCopy full SHA for bfeda0d
src/test/scala/scoverage/InvokerConcurrencyTest.scala
@@ -5,14 +5,16 @@ import org.scalatest.BeforeAndAfter
5
import java.io.File
6
import scala.concurrent._
7
import scala.concurrent.duration._
8
-import ExecutionContext.Implicits.global
9
import scala.collection.breakOut
+import java.util.concurrent.Executors
10
11
/**
12
* Verify that [[Invoker.invoked()]] is thread-safe
13
*/
14
class InvokerConcurrencyTest extends FunSuite with BeforeAndAfter {
15
16
+ implicit val executor = ExecutionContext.fromExecutor(Executors.newFixedThreadPool(8))
17
+
18
val measurementDir = new File("invoker-test.measurement")
19
20
before {
0 commit comments