1
0
Fork 0

Replace sleep (#4767)

For windows.
This commit is contained in:
Simon 2018-03-06 17:33:15 +01:00 committed by Max Neunhöffer
parent a9ce6f8d9a
commit f1d01a4585
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ arangodb::Result RocksDBTransactionState::internalCommit() {
<< "_numRemoves " << _numRemoves << " "
<< "_numUpdates " << _numUpdates << " "
<< "_numLogdata " << _numLogdata;
sleep(1); // let it print
std::this_thread::sleep_for(std::chrono::milliseconds(500));
}
// begin transaction + commit transaction + n doc removes
TRI_ASSERT(_numLogdata == (2 + _numRemoves));