2
0
mirror of https://github.com/meganz/MEGAcmd synced 2025-08-31 13:55:10 +00:00

have cross-platform slep in BasicTest

This commit is contained in:
Pablo Martin
2023-10-10 13:06:02 +02:00
parent 7e7700f08b
commit 0eea84d6c2

View File

@@ -16,6 +16,7 @@
#include "MegaCmdTestingTools.h" #include "MegaCmdTestingTools.h"
#include "TestUtils.h" #include "TestUtils.h"
#include "megacmdcommonutils.h"
#include "megacmd.h" #include "megacmd.h"
#include <gtest/gtest.h> #include <gtest/gtest.h>
@@ -32,7 +33,7 @@ class BasicGenericTest : public ::testing::Test
megacmd::executeServer(1, args); megacmd::executeServer(1, args);
}); });
sleep(2); //TODO: have this properly orchestrated megacmd::sleepSeconds(2); //TODO: have this properly orchestrated
t.detach(); t.detach();
} }