This is an automated email from the ASF dual-hosted git repository. yjhjstz pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit 19f2e32575c5cd38128e99417a9f77f1a6542232 Author: dreamedcheng <[email protected]> AuthorDate: Mon Oct 24 11:30:40 2022 +0800 Fix gpload regress case failure when OS user is not gpadmin (#14301) Gpload regression case #50 would fail, if OS user that installed gpdb cluster is not gpadmin. Since it specified a hardcode user gpadmin, we need to use PGUSER instead to fix it. Co-authored-by: wuchengwen <[email protected]> --- gpMgmt/bin/gpload_test/gpload2/TEST_local_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpMgmt/bin/gpload_test/gpload2/TEST_local_config.py b/gpMgmt/bin/gpload_test/gpload2/TEST_local_config.py index 01a48779f5..6c530c4ac8 100644 --- a/gpMgmt/bin/gpload_test/gpload2/TEST_local_config.py +++ b/gpMgmt/bin/gpload_test/gpload2/TEST_local_config.py @@ -38,7 +38,7 @@ def test_49_gpload_config_wrong_d(): copy_data('external_file_01.txt', 'data_file.txt') write_config_file(database="", format='text',file='data_file.txt',table='texttable') -@prepare_before_test(num=50, cmd="-U gpadmin") +@prepare_before_test(num=50, cmd="-U "+str(PGUSER)) def test_50_gpload_config_U(): "50 gpload command config test -U username" copy_data('external_file_01.txt', 'data_file.txt') --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
