nextcloud / gallery

DEPRECATED Gallery app was replaced by Photos
https://github.com/nextcloud/photos
GNU Affero General Public License v3.0
109 stars 58 forks source link

Fix timeout in API tests #387

Closed danxuliu closed 6 years ago

danxuliu commented 6 years ago

When run on PHP 7.0 and MySQL in Travis CI sometimes the API tests fail with a timeout; it seems that the tests are slower in that environment, so the timeout has to be increased in that case.

Increasing the timeout simply gives slower tests more time to finish the requests, but it does not affect the other tests in any way, so the timeout was increased for every test.

And with this... we are finally back in green! :-D

codecov[bot] commented 6 years ago

Codecov Report

Merging #387 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #387   +/-   ##
=========================================
  Coverage     82.55%   82.55%           
  Complexity      360      360           
=========================================
  Files            38       38           
  Lines          1313     1313           
=========================================
  Hits           1084     1084           
  Misses          229      229

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f230821...3e0f34d. Read the comment docs.

oparoz commented 6 years ago

Perfect, thanks for fixing this :)