Fix running and stopping libsyncthing multiple times

This commit is contained in:
Martchus 2018-04-18 00:39:47 +02:00
parent 6d7c876553
commit a36bc4524b
2 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit bdd181e36aaf1a7cc6ac817cea770df1d8e746e6
Subproject commit 1aad99ff629529c6e68113e83fd5f6398897d6a0

View File

@ -168,8 +168,8 @@ void InterfaceTests::testRun(const std::function<long long()> &runFunction)
CPPUNIT_ASSERT(testDev2Ready);
CPPUNIT_ASSERT(shutDownLogged);
// keep running to check whether we don't crash in the next few seconds
// FIXME: make this test pass, stop Syncthing correctly
// keep running a bit longer to check whether would not crash in the next few seconds
// (could happen if Syncthing's extra threads haven't been stopped correctly)
sleep(5);
}