You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2020/08/18 23:10:00 UTC

[jira] [Updated] (BEAM-10756) TestPubsubSignal provides erroneous messages/out of bounds exception if pull returns empty list

     [ https://issues.apache.org/jira/browse/BEAM-10756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kenneth Knowles updated BEAM-10756:
-----------------------------------
    Status: Open  (was: Triage Needed)

> TestPubsubSignal provides erroneous messages/out of bounds exception if pull returns empty list
> -----------------------------------------------------------------------------------------------
>
>                 Key: BEAM-10756
>                 URL: https://issues.apache.org/jira/browse/BEAM-10756
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-gcp
>            Reporter: Luke Cwik
>            Assignee: Luke Cwik
>            Priority: P4
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)