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

Rethrow CancellationException to ensure stop by timeout #1144

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dtim
Copy link
Collaborator

@dtim dtim commented Oct 12, 2022

Description

Add CancellationException as the special case in the catch-all logging exception handler in TestCaseGenerator to ensure
that it is correctly propagated.

Fixes #1141

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Automated Testing

No tests should break, no new automatic tests have been added.

Manual Scenario

Test generation for StringExamples should terminate in time.

Checklist (remove irrelevant options):

This is the author self-check list

  • The change followed the style guidelines of the UTBot project
  • Self-review of the code is passed
  • The change contains enough commentaries, particularly in hard-to-understand areas
  • New documentation is provided or existed one is altered
  • No new warnings
  • New tests have been added
  • All tests pass locally with my changes

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.

StringExamples generation exceeds timeout in 2-3 times
2 participants