-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make legacy and modern syntax detection work for module.wait
PR#61772 added the ability to detect modern or legacy syntax for module.run to allow both styles to co-exist. Those changes did not fully address module.wait semantics which led to all module.wait syntaxes to be treated as legacy. Using modern syntax led to state failure in such cases. This commit adds additional keys that may be generated when module.wait is used to the list of kwargs ignored by detection algorithm. It also adds functional tests for module.wait test cases. Fixes #62988
- Loading branch information
Showing
3 changed files
with
65 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fixed bug where module.wait states were detected as running legacy module.run syntax |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters