Skip to content

Commit 72a18da

Browse files
committed
update timeout to 30s to keep windows happy
* windows unittests on github need a longer time to run the tests
1 parent 043fb27 commit 72a18da

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

OMPython/ModelicaSystem.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def __init__(
108108
cmd_prefix: list[str],
109109
cmd_local: bool = False,
110110
cmd_windows: bool = False,
111-
timeout: float = 10.0,
111+
timeout: float = 30.0,
112112
model_name: Optional[str] = None,
113113
) -> None:
114114
if model_name is None:
@@ -2835,7 +2835,7 @@ def __init__(
28352835
self,
28362836
runpath: pathlib.Path,
28372837
modelname: str,
2838-
timeout: float = 10.0,
2838+
timeout: float = 30.0,
28392839
) -> None:
28402840
super().__init__(
28412841
runpath=runpath,

OMPython/OMCSession.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ def __init__(
940940
self.model_execution_local = False
941941

942942
# store variables
943-
self._timeout = 10.0
943+
self._timeout = 30.0
944944
self.set_timeout(timeout=timeout)
945945
# command prefix (to be used for docker or WSL)
946946
self._cmd_prefix: list[str] = []

0 commit comments

Comments
 (0)