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

Moved user password support to execute_async() for running test case #3381

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

paulli2017
Copy link
Contributor

@paulli2017 paulli2017 commented Aug 15, 2024

Current run of test cases has two methods: 1. call node.execute.async() and then process.wait_result() 2. call node.execute.async and then pgrep.wait_process(). Both works ok if the test run doesn't need username and password while running on target, otherwise the second method will fail due to the missing username and password. The first method works because it has username and password process in process.wait_result() call. This change list is to move the username and password process in process.wait_result() to node.execute.async() so that both methods of running a test case will work. And this change will not cause behavior changes for the first method, which helps avoid the regression issue.

@squirrelsc
Copy link
Member

Please remove test cases changes from this PR. They are in another PR.

lisa/node.py Outdated Show resolved Hide resolved
@paulli2017 paulli2017 force-pushed the paull/process-async branch 3 times, most recently from 2f0ab3a to 4809cbf Compare August 16, 2024 01:35
lisa/node.py Outdated Show resolved Hide resolved
@squirrelsc
Copy link
Member

@LiliDeng LGTM

@LiliDeng LiliDeng merged commit 1fe34d6 into microsoft:main Aug 19, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants