diff --git a/2023-01/smartsim/smartsim_function_object/tests/smartSimFOTest.C b/2023-01/smartsim/smartsim_function_object/tests/smartSimFOTest.C index 0203f23a..d7abb5e2 100644 --- a/2023-01/smartsim/smartsim_function_object/tests/smartSimFOTest.C +++ b/2023-01/smartsim/smartsim_function_object/tests/smartSimFOTest.C @@ -32,12 +32,16 @@ TEST_CASE("Shared SmartRedis client", "[cavity][serial][parallel]") dict0.set("type", "smartSimFunctionObject"); dict0.set("fieldNames", wordList()); dict0.set("fieldDimensions", labelList()); + dict0.set("clusterModel", false); + dict0.set("clientName", "default"); dictionary dict1; dict1.set("region", polyMesh::defaultRegion); dict1.set("type", "smartSimFunctionObject"); dict1.set("fieldNames", wordList()); dict1.set("fieldDimensions", labelList()); + dict1.set("clusterModel", false); + dict1.set("clientName", "default"); functionObjects::smartSimFunctionObject o0("smartSim0", runTime, dict0); functionObjects::smartSimFunctionObject o1("smartSim1", runTime, dict1); - REQUIRE(&(o0.redisDB()) == &(o1.redisDB())); + REQUIRE(&(o0.redisDB().client()) == &(o1.redisDB().client())); }