You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2020/02/29 08:18:00 UTC
[jira] [Closed] (FLINK-16342) Remove mocking from
DatadogHttpClientTest
[ https://issues.apache.org/jira/browse/FLINK-16342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler closed FLINK-16342.
------------------------------------
Resolution: Fixed
master: 8e12742bb24361802a3e0b357db0a11f515be016
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.11.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)