Fix TestSyncEngine::abortAfterFailedMkdir
authorJocelyn Turcotte <jturcotte@woboq.com>
Wed, 8 Feb 2017 16:31:13 +0000 (17:31 +0100)
committerJocelyn Turcotte <jturcotte@woboq.com>
Wed, 8 Feb 2017 16:32:04 +0000 (17:32 +0100)
commit1cec2ca13dc35aba6aaf79f42bde9a6dd00143a7
treea276e6fb5218bb4037789c81e14a0caf0bf396d4
parent1d9e08d1093ff1f6c91e4c6cdae658c7f6dffe95
Fix TestSyncEngine::abortAfterFailedMkdir

It could be possible that _firstJob is marked as finished if
aborted before its parent PropagateDirectory was marked as finished,
allowing a posted scheduleNextJob call to schedule the child job
in-between.
src/libsync/owncloudpropagator.cpp
src/libsync/owncloudpropagator.h
test/testsyncengine.cpp