Allow MPI-enabled clients to provide the library communicator.
[alexxy/gromacs.git] / src / api / cpp / tests / stopsignaler.cpp
index 29d13e6b838bb35fade5f4c1494e1c300159fbe7..5cfcf21d224ded061e01dbbf4982bddc6c9b4df4 100644 (file)
@@ -180,7 +180,7 @@ TEST_F(GmxApiTest, ApiRunnerStopSignalClient)
     const int nsteps = 1;
     makeTprFile(nsteps);
     auto system  = gmxapi::fromTprFile(runner_.tprFileName_);
-    auto context = std::make_shared<gmxapi::Context>();
+    auto context = std::make_shared<gmxapi::Context>(gmxapi::createContext());
 
     // Check assumptions about basic simulation behavior.
     {