markusthoemmes commented on a change in pull request #2425: Throttle message 
bus consumption.
URL: 
https://github.com/apache/incubator-openwhisk/pull/2425#discussion_r125143973
 
 

 ##########
 File path: tests/src/test/scala/whisk/core/connector/test/TestConnector.scala
 ##########
 @@ -70,13 +70,15 @@ class TestConnector(
     }
 
     private val producer = new MessageProducer {
-        def send(topic: String, msg: Message): Future[RecordMetadata] = {
+        import scala.concurrent.ExecutionContext.Implicits.global
+
+        def send(topic: String, msg: Message): Future[RecordMetadata] = Future 
{
 
 Review comment:
   Why not use the old impl. and avoid the implicit ExecutionContext?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to