diff --git a/tests/test/util/test_config.cpp b/tests/test/util/test_config.cpp index 14b2b1042..584484eb6 100644 --- a/tests/test/util/test_config.cpp +++ b/tests/test/util/test_config.cpp @@ -21,7 +21,6 @@ TEST_CASE("Test default system config initialisation", "[util]") REQUIRE(conf.redisPort == "6379"); REQUIRE(conf.noScheduler == 0); - REQUIRE(conf.overrideCpuCount == 0); REQUIRE(conf.noTopologyHints == "off"); REQUIRE(conf.noSingleHostOptimisations == 0); REQUIRE(conf.batchSchedulerMode == "bin-pack"); diff --git a/tests/test/util/test_environment.cpp b/tests/test/util/test_environment.cpp index ad513ce34..4578ba1b7 100644 --- a/tests/test/util/test_environment.cpp +++ b/tests/test/util/test_environment.cpp @@ -42,10 +42,10 @@ TEST_CASE("Test setting environment variables", "[util]") TEST_CASE("Test overriding CPU count", "[util]") { - // Check default cores is same as available concurrency + // Check default cores is same as usable cores auto& conf = getSystemConfig(); unsigned int defaultCores = getUsableCores(); - REQUIRE(defaultCores == std::thread::hardware_concurrency()); + REQUIRE(defaultCores == getUsableCores()); // Check it can be overridden conf.overrideCpuCount = 1234;