SyncEngineTest: Fix test reliability
authorChristian Kamm <mail@ckamm.de>
Tue, 4 Jul 2017 07:57:22 +0000 (09:57 +0200)
committerChristian Kamm <mail@ckamm.de>
Tue, 4 Jul 2017 07:57:22 +0000 (09:57 +0200)
commit0db095e02a3cc311a1121ab1b427c92c59687db7
tree02b579a53b1d338ab604783d9aff787e48c74cfb
parent30095a0c3f54195016f35954e0ca29eec1c03a82
SyncEngineTest: Fix test reliability

There was a rounding issue in the mtimes which sometimes resulted in an
off-by-one error. Caused by storing a full QDateTime in the FileInfo but
the mtime saved to the disk being truncated to seconds.
test/testsyncengine.cpp