[jira] [Created] (FLINK-8398) Stabilize flaky KinesisDataFetcherTests

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-8398) Stabilize flaky KinesisDataFetcherTests

Shang Yuanchun (Jira)
Tzu-Li (Gordon) Tai created FLINK-8398:
------------------------------------------

             Summary: Stabilize flaky KinesisDataFetcherTests
                 Key: FLINK-8398
                 URL: https://issues.apache.org/jira/browse/FLINK-8398
             Project: Flink
          Issue Type: Bug
          Components: Kinesis Connector, Tests
    Affects Versions: 1.4.0, 1.5.0
            Reporter: Tzu-Li (Gordon) Tai
            Assignee: Tzu-Li (Gordon) Tai
             Fix For: 1.5.0, 1.4.1


The unit tests in {{KinesisDataFetcherTest}} have very flaky implementations. They rely on on thread sleeps to wait for a certain operation to happen, which can easily miss and cause tests to fail.

Although there isn't any reports of consistent failures on these tests yet (as far as I am aware of),  they can easily surface in the future.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)