This is an automated email from the ASF dual-hosted git repository.
weichiu pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new e83c05e622 AMBARI-26474: Fix ambari server py test (#3995)
e83c05e622 is described below
commit e83c05e6229b4d006663949f4098ecc8cce589e3
Author: jialiang <[email protected]>
AuthorDate: Sat Apr 19 00:24:34 2025 +0800
AMBARI-26474: Fix ambari server py test (#3995)
---
ambari-server/src/test/python/TestAmbariServer.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/ambari-server/src/test/python/TestAmbariServer.py
b/ambari-server/src/test/python/TestAmbariServer.py
index 476250c282..6fee1a4b2e 100644
--- a/ambari-server/src/test/python/TestAmbariServer.py
+++ b/ambari-server/src/test/python/TestAmbariServer.py
@@ -3354,6 +3354,7 @@ class TestAmbariServer(TestCase):
# Test case: JDK already exists
args.java_home = None
args.jdk_location = None
+ args.ambari_java_home = None
get_JAVA_HOME_mock.return_value = "some_jdk"
validate_jdk_mock.return_value = True
get_YN_input_mock.return_value = False
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]