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

Add time_out parameter for wait_operation. #1684

Merged
merged 1 commit into from
Jan 6, 2022
Merged

Conversation

LiliDeng
Copy link
Collaborator

@LiliDeng LiliDeng commented Jan 6, 2022

No description provided.

@LiliDeng LiliDeng added the 🆕 LISAv3 Incubation work for the next version of LISA label Jan 6, 2022
@LiliDeng LiliDeng self-assigned this Jan 6, 2022
@LiliDeng LiliDeng force-pushed the lildeng/fix_issues_1_6 branch 2 times, most recently from bd74cb9 to a6c788d Compare January 6, 2022 08:01
operation.wait(1)
if time_out < timer.elapsed():
raise Exception("Timeout on operation")
else:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

even it's not set, it's still needed to wait by one second. It makes the check_cancelled run more frequently.

break
operation.wait(1)
if time_out < timer.elapsed():
raise Exception("Timeout on operation")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"timeout on wait Azure operation completed after {time_out} seconds."

@LiliDeng LiliDeng merged commit 73fd462 into main Jan 6, 2022
@LiliDeng LiliDeng deleted the lildeng/fix_issues_1_6 branch January 6, 2022 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 LISAv3 Incubation work for the next version of LISA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants