Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-10756

TestPubsubSignal provides erroneous messages/out of bounds exception if pull returns empty list

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • Missing
    • io-java-gcp
    • None

    Description

      TestPubsubSignal assumes that pull() returns null if nothing is returned which isn't the contract of PubsubClient.java, this leads to an ack warning stating that we acked zero messages and an IndexOutOfBoundsException when attempting to get the first resulting message.

      Attachments

        Issue Links

          Activity

            People

              lcwik Luke Cwik
              lcwik Luke Cwik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m