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 a 60 second timeout to pytests #5831

Closed
wants to merge 1 commit into from

Conversation

lstein
Copy link
Collaborator

@lstein lstein commented Feb 29, 2024

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Community Node Submission

Have you discussed this change with the InvokeAI team?

  • Yes
  • No, because:

Have you updated all relevant documentation?

  • Yes
  • No

Description

There's a threading-related bug in the model install module that causes the test_model_install test to hang fairly frequently. This introduces a global 1 minute timeout on all the tests and a more stringent timeout on the model install and download queue tests.

(I have isolated where the hang occurs and am debugging further)

Related Tickets & Documents

  • Related Issue #
  • Closes #

QA Instructions, Screenshots, Recordings

The hangs in the model install test will still occur, but they will now timeout in minutes rather than hours.

Merge Plan

Merge when approved.

Added/updated tests?

  • Yes
  • No : please replace this line with details on why tests
    have not been included

[optional] Are there any post deployment tasks we need to perform?

@lstein
Copy link
Collaborator Author

lstein commented Feb 29, 2024

PR superseded by #5835

@lstein lstein closed this Feb 29, 2024
@lstein lstein deleted the optimization/add-pytest-timeouts branch February 29, 2024 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant