You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2017/12/01 10:16:52 UTC

[GitHub] cbickel closed pull request #3033: add some logs statements to the test to hunt heisenbug #3022

cbickel closed pull request #3033: add some logs statements to the test to hunt heisenbug #3022
URL: https://github.com/apache/incubator-openwhisk/pull/3033
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/tests/src/test/scala/services/KafkaConnectorTests.scala b/tests/src/test/scala/services/KafkaConnectorTests.scala
index 8974be3c79..b3c6552f72 100644
--- a/tests/src/test/scala/services/KafkaConnectorTests.scala
+++ b/tests/src/test/scala/services/KafkaConnectorTests.scala
@@ -78,7 +78,10 @@ class KafkaConnectorTests extends FlatSpec with Matchers with WskActorSystem wit
                             waitForSend: FiniteDuration,
                             waitForReceive: FiniteDuration): Iterable[String] = {
     val start = java.lang.System.currentTimeMillis
+    println(s"Send message to topic.\n")
     val sent = Await.result(producer.send(topic, message), waitForSend)
+    println(s"Successfully sent message to topic: ${sent}\n")
+    println(s"Receiving message from topic.\n")
     val received = consumer.peek(waitForReceive).map { case (_, _, _, msg) => new String(msg, "utf-8") }
     val end = java.lang.System.currentTimeMillis
     val elapsed = end - start


 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services