[jira] [Created] (FLINK-16342) Remove mocking from DatadogHttpClientTest

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

[jira] [Created] (FLINK-16342) Remove mocking from DatadogHttpClientTest

Shang Yuanchun (Jira)
Chesnay Schepler created FLINK-16342:
----------------------------------------

             Summary: Remove mocking from DatadogHttpClientTest
                 Key: FLINK-16342
                 URL: https://issues.apache.org/jira/browse/FLINK-16342
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Metrics, Tests
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
             Fix For: 1.11.0


The {{DatadogHttpClientTest}} uses some nasty powermock features, like suppressing methods and mocking static methods.

There are simple workarounds for these that we should employ instead.



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