[Pkg-owncloud-commits] [owncloud-client] 308/332: tests: Add another two seconds break, hope to make it work in virt. env.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Thu Aug 14 21:07:16 UTC 2014
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit e9c4635f6b46e4656b0849d25a79910cd045e672
Author: Klaas Freitag <freitag at owncloud.com>
Date: Wed Aug 6 11:32:42 2014 +0200
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 d3ffe1e..79dac8e 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);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list