This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new e08f9fa  [hotfix][tests] Use ConfigOptions instead of hard-coded keys
e08f9fa is described below

commit e08f9fabc0fdd2bbd4983ec26c90e22bf74b0841
Author: Zili Chen <[email protected]>
AuthorDate: Wed Apr 24 22:59:38 2019 +0800

    [hotfix][tests] Use ConfigOptions instead of hard-coded keys
---
 .../org/apache/flink/yarn/YARNSessionCapacitySchedulerITCase.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YARNSessionCapacitySchedulerITCase.java
 
b/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YARNSessionCapacitySchedulerITCase.java
index 8c3c092..c238037 100644
--- 
a/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YARNSessionCapacitySchedulerITCase.java
+++ 
b/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YARNSessionCapacitySchedulerITCase.java
@@ -503,8 +503,8 @@ public class YARNSessionCapacitySchedulerITCase extends 
YarnTestBase {
                                "-yjm", "768m",
                                // test if the cutoff is passed correctly (only 
useful when larger than the value
                                // of containerized.heap-cutoff-min (default: 
600MB)
-                               "-yD", "yarn.heap-cutoff-ratio=0.7",
-                               "-yD", "yarn.tags=test-tag",
+                               "-yD", 
ResourceManagerOptions.CONTAINERIZED_HEAP_CUTOFF_RATIO.key() + "=0.7",
+                               "-yD", YarnConfigOptions.APPLICATION_TAGS.key() 
+ "=test-tag",
                                "-ytm", "1024m",
                                "-ys", "2", // test requesting slots from YARN.
                                "-p", "2",

Reply via email to