You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by "Urmi Mustafi (Jira)" <ji...@apache.org> on 2023/11/01 21:31:00 UTC

[jira] [Created] (GOBBLIN-1946) Unit tests for DagActionStoreChangeMonitor Process Message

Urmi Mustafi created GOBBLIN-1946:
-------------------------------------

             Summary: Unit tests for DagActionStoreChangeMonitor Process Message
                 Key: GOBBLIN-1946
                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1946
             Project: Apache Gobblin
          Issue Type: New Feature
          Components: gobblin-service
            Reporter: Urmi Mustafi
            Assignee: Abhishek Tiwari


Add basic unit testing framework for DagActionStoreChangeMonitor.processMessage() function which is used for processing launch, kill, and resume flow action events. This is a crucial piece of functionality used to launch events, so it needs to be resilient to malformed message types and handle them without interrupting the thread processing the queue. The main functionality we seek to test is to ensure heartbeat type messages or messages with null dag action types are handled without throwing a NullPointerException. The unit tests are rudimentary other than the aforementioned functionality, mocking all related classes so their states and the actual result of processing the message is not validated at the moment. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)