Fix running and stopping libsyncthing multiple times
This commit is contained in:
parent
6d7c876553
commit
a36bc4524b
|
@ -1 +1 @@
|
||||||
Subproject commit bdd181e36aaf1a7cc6ac817cea770df1d8e746e6
|
Subproject commit 1aad99ff629529c6e68113e83fd5f6398897d6a0
|
|
@ -168,8 +168,8 @@ void InterfaceTests::testRun(const std::function<long long()> &runFunction)
|
||||||
CPPUNIT_ASSERT(testDev2Ready);
|
CPPUNIT_ASSERT(testDev2Ready);
|
||||||
CPPUNIT_ASSERT(shutDownLogged);
|
CPPUNIT_ASSERT(shutDownLogged);
|
||||||
|
|
||||||
// keep running to check whether we don't crash in the next few seconds
|
// keep running a bit longer to check whether would not crash in the next few seconds
|
||||||
// FIXME: make this test pass, stop Syncthing correctly
|
// (could happen if Syncthing's extra threads haven't been stopped correctly)
|
||||||
sleep(5);
|
sleep(5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue