Skip to content

Reconciliation for utBotGenerationTimeoutInMillis: Long.MAX_VALUE is …#1506

Merged
Vassiliy-Kudryashov merged 1 commit into
mainfrom
Vassiliy-Kudryashov/timeoutMillis_reconciliation
Dec 12, 2022
Merged

Reconciliation for utBotGenerationTimeoutInMillis: Long.MAX_VALUE is …#1506
Vassiliy-Kudryashov merged 1 commit into
mainfrom
Vassiliy-Kudryashov/timeoutMillis_reconciliation

Conversation

@Vassiliy-Kudryashov

Copy link
Copy Markdown
Member

…far too big for maximum, let's use Int.MAX_VALUE instead

Description

Spinner model expect Int.MAX_VALUE as maximum, in settings it was limited with Long.MAX_VALUE

Fixes #1438

Type of Change

  • Minor bug fix (non-breaking small changes)

How Has This Been Tested?

Manual Scenario

See the relevant issue: utBotGenerationTimeoutInMillis=60000000000000 in settings.properties should work as Int.MAX_VALUE with no exception.

Checklist (remove irrelevant options):

  • The change followed the style guidelines of the UTBot project
  • Self-review of the code is passed
  • No new warnings

…far too big for maximum, let's use Int.MAX_VALUE instead
@Vassiliy-Kudryashov Vassiliy-Kudryashov merged commit 3e81503 into main Dec 12, 2022
@Vassiliy-Kudryashov Vassiliy-Kudryashov deleted the Vassiliy-Kudryashov/timeoutMillis_reconciliation branch December 12, 2022 07:13
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.

If utBotGenerationTimeoutInMillis value is out of allowed scope, IllegalArgumentException is thrown down to IDEA

2 participants