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

Timeout setting not honoured for execute_process_with_return #1126

Closed
ivankulman opened this issue Jun 25, 2024 · 1 comment · Fixed by #1127
Closed

Timeout setting not honoured for execute_process_with_return #1126

ivankulman opened this issue Jun 25, 2024 · 1 comment · Fixed by #1127
Labels

Comments

@ivankulman
Copy link

Describe the bug
After upgrading the version from 1.9.1 to 2.0.3 process keeps running instead of exiting.

To Reproduce

self.connection.processes.execute_process_with_return(
    process=ti_process, timeout=10, **process_params
)

Expected behavior
I would expect the python code to exit with TM1pyTimeout exception rather than keep on waiting for the execution.
this was working in 1.9.1, but not in 2.0.3

Version
TM1py 2.0.3
TM1 Server Version: 11.3

Additional context
I think I have solved this - will provide a pull request and link this issue there.

@ivankulman ivankulman added the bug label Jun 25, 2024
@BenStruwe
Copy link

Thanks for raising @ivankulman . Let's get this fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants