SyncEngine: fix test regression in TestChunkingNG::testCreateConflictWhileSyncing
authorOlivier Goffart <ogoffart@woboq.com>
Thu, 16 Mar 2017 08:27:17 +0000 (09:27 +0100)
committerOlivier Goffart <olivier@woboq.com>
Thu, 16 Mar 2017 09:17:08 +0000 (10:17 +0100)
commit0ed929f24b67a0d4705b4e977c2c86fb75cff488
treea641f09f18f122a868ea7536e81c0a5659965508
parent41eeed981f035b0d084b997de7cc88e491e48340
SyncEngine: fix test regression in TestChunkingNG::testCreateConflictWhileSyncing

In 8ef11a38c99c6a33b175f1ad792ec02b52f88d25, we started blacklisting
SoftError for 0 seconds.  But if the two sync happen with less than
1s interval, we would still prevent them to happen.
So make sure we expire if 0 seconds have expired
src/libsync/syncengine.cpp