diff --git a/tests/integration/BasicTests.cpp b/tests/integration/BasicTests.cpp index 22c98313..f2463694 100644 --- a/tests/integration/BasicTests.cpp +++ b/tests/integration/BasicTests.cpp @@ -16,6 +16,7 @@ #include "MegaCmdTestingTools.h" #include "TestUtils.h" +#include "megacmdcommonutils.h" #include "megacmd.h" #include @@ -32,7 +33,7 @@ class BasicGenericTest : public ::testing::Test megacmd::executeServer(1, args); }); - sleep(2); //TODO: have this properly orchestrated + megacmd::sleepSeconds(2); //TODO: have this properly orchestrated t.detach(); }