Skip to content

Test script timeout argument#109

Merged
VitjanZ merged 1 commit intomainfrom
feat/test_timeout_argument
Feb 23, 2026
Merged

Test script timeout argument#109
VitjanZ merged 1 commit intomainfrom
feat/test_timeout_argument

Conversation

@VitjanZ
Copy link
Collaborator

@VitjanZ VitjanZ commented Feb 23, 2026

Adding an argument to the client to set the test script timeout manually. This is necessary for projects with longer compilation times.

Copy link
Contributor

@pedjaradenkovic pedjaradenkovic left a comment

Choose a reason for hiding this comment

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

Functionality looks good but I would change some organisational things:

In render_utils the default SCRIPT_EXECUTION_TIMEOUT is used a couple of times which means that it would create wrong logs if some other timeout is used.

But this is just a consequence of the fact that execute script is called with optional timeout argument. I suggest you move those 120 as a default option into args parser and after that it will always have assigned value (in render_context and further in render_utils methods).

@VitjanZ VitjanZ force-pushed the feat/test_timeout_argument branch from 73222e2 to 3735786 Compare February 23, 2026 17:02
@VitjanZ
Copy link
Collaborator Author

VitjanZ commented Feb 23, 2026

Verbally discussed the changes. Merging.

@VitjanZ VitjanZ merged commit 7a3a0f3 into main Feb 23, 2026
10 checks passed
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