summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2018-01-22 17:08:24 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-01-23 09:54:34 +0100
commit3d10c3ace563f401004d1893a4cef1bb96cc4804 (patch)
treec64cb6fce9d48932dbc99437320a325ecb587711 /apps/files_external
parent924298f740e7c27b42f951d1f6da8246151caafe (diff)
downloadnextcloud-server-3d10c3ace563f401004d1893a4cef1bb96cc4804.tar.gz
nextcloud-server-3d10c3ace563f401004d1893a4cef1bb96cc4804.zip
increase the time we wait for smb notifications in the test
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/tests/Storage/SmbTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/tests/Storage/SmbTest.php b/apps/files_external/tests/Storage/SmbTest.php
index edacb498d5e..e3c0408114d 100644
--- a/apps/files_external/tests/Storage/SmbTest.php
+++ b/apps/files_external/tests/Storage/SmbTest.php
@@ -96,11 +96,11 @@ class SmbTest extends \Test\Files\Storage\Storage {
public function testNotifyGetChanges() {
$notifyHandler = $this->instance->notify('');
- usleep(100 * 1000); //give time for the notify to start
+ sleep(1); //give time for the notify to start
$this->instance->file_put_contents('/newfile.txt', 'test content');
$this->instance->rename('/newfile.txt', 'renamed.txt');
$this->instance->unlink('/renamed.txt');
- usleep(100 * 1000); //time for all changes to be processed
+ sleep(1); //time for all changes to be processed
$changes = $notifyHandler->getChanges();
$notifyHandler->stop();