You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sw...@apache.org on 2018/02/14 18:36:25 UTC
[ambari] 02/02: improved test
This is an automated email from the ASF dual-hosted git repository.
swagle pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
commit 7d441cc4587c42a9cc73160a92681152ca1c67fa
Author: majorendre <majorendre>
AuthorDate: Mon Feb 12 12:40:44 2018 +0100
improved test
Added external name services to TestNamenodeHaUtils
---
ambari-agent/src/test/python/resource_management/TestNamenodeHaUtils.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/ambari-agent/src/test/python/resource_management/TestNamenodeHaUtils.py b/ambari-agent/src/test/python/resource_management/TestNamenodeHaUtils.py
index 6f2e5aa..18f316f 100644
--- a/ambari-agent/src/test/python/resource_management/TestNamenodeHaUtils.py
+++ b/ambari-agent/src/test/python/resource_management/TestNamenodeHaUtils.py
@@ -62,6 +62,7 @@ class TestNamenodeHaUtils(TestCase):
# federated config dfs.internal.nameservices in hdfs-site
hdfs_site = {
"dfs.internal.nameservices": "ns1,ns2",
+ "dfs.nameservices": "ns1,ns2,exns1,exns2"
}
self.assertEqual(["ns1","ns2"], get_nameservices(hdfs_site))
--
To stop receiving notification emails like this one, please contact
swagle@apache.org.