diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-01-22 19:54:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-22 19:54:00 +0100 |
commit | 97aff2dbe0d432e3a6f498d5a5b735ca71c8bb55 (patch) | |
tree | 78e1cbbc134749fef01dcec03d1918ce0bd45092 /apps/files_external | |
parent | 520f2fd6ea3661d5d49517c7265dd8d7515036ac (diff) | |
parent | 80aef8ed081f73515f2d58396d36fca7453e4a08 (diff) | |
download | nextcloud-server-97aff2dbe0d432e3a6f498d5a5b735ca71c8bb55.tar.gz nextcloud-server-97aff2dbe0d432e3a6f498d5a5b735ca71c8bb55.zip |
Merge pull request #7994 from nextcloud/smb-notify-test-timeout
increase the time we wait for smb notifications in the test
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/tests/Storage/SmbTest.php | 4 |
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(); |