[ 
https://issues.apache.org/jira/browse/FLINK-12422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16838368#comment-16838368
 ] 

vinoyang commented on FLINK-12422:
----------------------------------

Hi [~zjffdu] I found two usages about {{IN_TESTS}}:
{code:java}
if (System.getenv("IN_TESTS") != null) {
  //code
}{code}
I'd like to make sure if we should remove all the {{if}} code snippets like 
this?

 

> Remove IN_TESTS for make test code and production code consistent
> -----------------------------------------------------------------
>
>                 Key: FLINK-12422
>                 URL: https://issues.apache.org/jira/browse/FLINK-12422
>             Project: Flink
>          Issue Type: Improvement
>          Components: Deployment / YARN
>    Affects Versions: 1.8.0
>            Reporter: Jeff Zhang
>            Assignee: vinoyang
>            Priority: Major
>
> Currently, in we use IN_TESTS to in flink-yarn which make the test code and 
> production code inconsistent. This is not a good design and may miss bugs 
> which happens in production environment. This ticket is to remove IN_TESTS 
> for make test code and production code consistent.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to