aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver-test/hub-tests.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2026-03-17 22:57:20 +0100
committerGitHub Enterprise <[email protected]>2026-03-17 22:57:20 +0100
commitd0d40b36b306236428a764349dbff98d38cf7dbd (patch)
tree2a5511a99eea146b6f7f3632fb3194394e508360 /src/zenserver-test/hub-tests.cpp
parentSuppressed C5105 when building rpmalloc (#852) (diff)
downloadzen-d0d40b36b306236428a764349dbff98d38cf7dbd.tar.xz
zen-d0d40b36b306236428a764349dbff98d38cf7dbd.zip
zen hub port reuse (#850)
- Feature: Added `--allow-port-probing` option to control whether zenserver searches for a free port on startup (default: true, automatically false when --dedicated is set) - Feature: Added new hub options for controlling provisioned storage server instances: - `--hub-instance-http` - HTTP server implementation for instances (asio/httpsys) - `--hub-instance-http-threads` - Number of HTTP connection threads per instance - `--hub-instance-corelimit` - Limit CPU concurrency per instance - Improvement: Hub now manages a deterministic port pool for provisioned instances allowing reuse of unused ports
Diffstat (limited to 'src/zenserver-test/hub-tests.cpp')
-rw-r--r--src/zenserver-test/hub-tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenserver-test/hub-tests.cpp b/src/zenserver-test/hub-tests.cpp
index 9c1669256..958a0b050 100644
--- a/src/zenserver-test/hub-tests.cpp
+++ b/src/zenserver-test/hub-tests.cpp
@@ -47,7 +47,7 @@ TEST_CASE("hub.lifecycle.children")
{
ZenServerInstance Instance(TestEnv, ZenServerInstance::ServerMode::kHubServer);
- const uint16_t PortNumber = Instance.SpawnServerAndWaitUntilReady();
+ const uint16_t PortNumber = Instance.SpawnServerAndWaitUntilReady("--hub-instance-corelimit=2 --hub-instance-http-threads=6");
REQUIRE(PortNumber != 0);
SUBCASE("spawn")