From e9c4635f6b46e4656b0849d25a79910cd045e672 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Wed, 6 Aug 2014 11:32:42 +0200 Subject: [PATCH] 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. --- csync/tests/ownCloud/t1.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/csync/tests/ownCloud/t1.pl b/csync/tests/ownCloud/t1.pl index d3ffe1eef5..79dac8e5dc 100755 --- a/csync/tests/ownCloud/t1.pl +++ b/csync/tests/ownCloud/t1.pl @@ -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);