diff options
| author | Stefan Boberg <[email protected]> | 2026-03-18 09:17:34 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-03-18 09:17:34 +0100 |
| commit | 1855797eb17a1484ed937a21b8db3c0a92ba7aa8 (patch) | |
| tree | de751f50f4720f5c1d551257ac80dc986b31698b /src/zenutil | |
| parent | Propagate errors from FunctionRunner::RegisterWorker (diff) | |
| parent | fix for GHES failing on upload-artifacts@v3 (#856) (diff) | |
| download | zen-sb/compute-batch.tar.xz zen-sb/compute-batch.zip | |
Merge branch 'main' into sb/compute-batchsb/compute-batch
Diffstat (limited to 'src/zenutil')
| -rw-r--r-- | src/zenutil/include/zenutil/zenserverprocess.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/zenutil/include/zenutil/zenserverprocess.h b/src/zenutil/include/zenutil/zenserverprocess.h index 2f76f0d6c..101b078e9 100644 --- a/src/zenutil/include/zenutil/zenserverprocess.h +++ b/src/zenutil/include/zenutil/zenserverprocess.h @@ -151,6 +151,11 @@ struct ZenServerInstance return GetBasePort(); } + inline void SpawnServerAndWaitUntilReady(uint16_t BasePort, std::string_view AdditionalServerArgs = std::string_view()) + { + SpawnServer(BasePort, AdditionalServerArgs, /* WaitTimeoutMs */ 100'000); + } + inline void SpawnServer(int BasePort, std::string_view AdditionalServerArgs = std::string_view()) { SpawnServer(BasePort, AdditionalServerArgs, /* WaitTimeoutMs */ 0); |