Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass in strong password instead to fix integtest workflow #4302

Merged
merged 9 commits into from
Jan 9, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix test formatting
Signed-off-by: Derek Ho <[email protected]>
derek-ho committed Dec 28, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit e601645d3212d1e443ce123709964864b5e7a111
Original file line number Diff line number Diff line change
@@ -39,8 +39,12 @@ def test_install(self, check_call_mock: Mock) -> None:

self.assertEqual(check_call_mock.call_count, 1)
self.assertEqual(
"export OPENSEARCH_INITIAL_ADMIN_PASSWORD=myStrongPassword123! "
+ f"&& sudo dpkg --purge opensearch && sudo dpkg --install opensearch.deb && sudo chmod 0666 {self.distribution_deb.config_path}",
(
"export OPENSEARCH_INITIAL_ADMIN_PASSWORD=myStrongPassword123! && "
"sudo dpkg --purge opensearch && "
"sudo dpkg --install opensearch.deb && "
f"sudo chmod 0666 {self.distribution_deb.config_path}"
),
args_list[0][0][0],
)

Original file line number Diff line number Diff line change
@@ -39,8 +39,12 @@ def test_install(self, check_call_mock: Mock) -> None:

self.assertEqual(check_call_mock.call_count, 1)
self.assertEqual(
"export OPENSEARCH_INITIAL_ADMIN_PASSWORD=myStrongPassword123! "
+ f"&& sudo yum remove -y opensearch && sudo yum install -y opensearch.rpm && sudo chmod 0666 {self.distribution_rpm.config_path}",
(
"export OPENSEARCH_INITIAL_ADMIN_PASSWORD=myStrongPassword123! && "
"sudo yum remove -y opensearch && "
"sudo yum install -y opensearch.rpm && "
f"sudo chmod 0666 {self.distribution_rpm.config_path}"
),
args_list[0][0][0],
)

Loading