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 more functionalities to test playbooks usecases #4807

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

merit-maita
Copy link
Contributor

@merit-maita merit-maita commented Feb 9, 2025

Related Issues

fixes: https://jira-dc.paloaltonetworks.com/browse/CIAC-12474

Description

Added some functionalities to support testing playbooks use cases.

@merit-maita merit-maita changed the title Test playbooks Add more functionalities to test playbooks usecases Feb 13, 2025
@merit-maita merit-maita marked this pull request as ready for review February 24, 2025 22:38
Copy link

Changelog(s) in markdown:

  • Added some functionalities to support testing playbooks use cases. #4807

found_tasks = []
start_time = time.time()

while True:
Copy link
Contributor

Choose a reason for hiding this comment

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

what causes this while loop to exit?

Copy link
Contributor

Choose a reason for hiding this comment

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

Consider using
while time.time() - start_time < max_timeout:

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.

2 participants