tests: Add another two seconds break, hope to make it work in virt. env.

Tests fail randomly on the CI computer which is virtualized. Maybe this
fix helps.
This commit is contained in:
Klaas Freitag 2014-08-06 11:32:42 +02:00
parent 7337010fd8
commit e9c4635f6b

View File

@ -125,6 +125,7 @@ assertLocalAndRemoteDir( '', 0);
printInfo( "Update the file again");
createLocalFile( localDir() . "remoteToLocal1/kernelcrash.txt", 2136 );
createLocalFile( localDir() . "remoteToLocal1/kraft_logo.gif", 2332 );
system( "sleep 2 && touch " . localDir() . "remoteToLocal1/kernelcrash.txt" );
csync( );
assertLocalAndRemoteDir( '', 0);