java.lang.AssertionError: Expected OnNext(_), yet no element signaled during 3 seconds

Stack Overflow | Michael Grant | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Integration tests in Akka in Scala only pass intermittently

    Stack Overflow | 6 months ago | Michael Grant
    java.lang.AssertionError: Expected OnNext(_), yet no element signaled during 3 seconds
  2. 0

    failed: MqttSourceSpec

    GitHub | 2 months ago | patriknw
    java.lang.AssertionError: Expected OnNext(_), yet no element signaled during 3 seconds

    Root Cause Analysis

    1. java.lang.AssertionError

      Expected OnNext(_), yet no element signaled during 3 seconds

      at akka.stream.testkit.TestSubscriber$ManualProbe.expectNext()
    2. akka.stream.testkit
      TestSubscriber$Probe.requestNext
      1. akka.stream.testkit.TestSubscriber$ManualProbe.expectNext(StreamTestKit.scala:268)
      2. akka.stream.testkit.TestSubscriber$ManualProbe.expectNext(StreamTestKit.scala:259)
      3. akka.stream.testkit.TestSubscriber$Probe.requestNext(StreamTestKit.scala:631)
      3 frames
    3. Apache Kafka
      SimpleKafkaStreamTest$$anonfun$1.apply
      1. kafka.SimpleKafkaStreamTest$Kafka$class.requestNext(SimpleKafkaStreamTest.scala:56)
      2. kafka.SimpleKafkaStreamTest$$anonfun$1$$anon$1.requestNext(SimpleKafkaStreamTest.scala:18)
      3. kafka.SimpleKafkaStreamTest$$anonfun$1$$anon$1.<init>(SimpleKafkaStreamTest.scala:22)
      4. kafka.SimpleKafkaStreamTest$$anonfun$1.apply$mcV$sp(SimpleKafkaStreamTest.scala:18)
      5. kafka.SimpleKafkaStreamTest$$anonfun$1.apply(SimpleKafkaStreamTest.scala:18)
      6. kafka.SimpleKafkaStreamTest$$anonfun$1.apply(SimpleKafkaStreamTest.scala:18)
      6 frames