Skip to content
This repository was archived by the owner on Jun 1, 2026. It is now read-only.

Tests for aborted downloads#151

Merged
PVince81 merged 2 commits into
masterfrom
abortion-tests
Jan 13, 2017
Merged

Tests for aborted downloads#151
PVince81 merged 2 commits into
masterfrom
abortion-tests

Conversation

@PVince81

@PVince81 PVince81 commented Dec 2, 2016

Copy link
Copy Markdown

This is a test to reproduce the issue owncloud/core#22370 with PHP 7.

The only way to check if the issue occurs is by scraping the log file, so I improved that routine to download the file through the private API instead of copying. (copying failed on my envs due to different perms...)

Running this test is currently able to reproduce the issue after 10-15 iterations.

@DeepDiver1975 I think it would be fine to have a single executor for PHP 7 just for this one test, for now.

@jvillafanez @mrow4a please review

@mention-bot

Copy link
Copy Markdown

@PVince81, thanks for your PR! By analyzing the history of the files in this pull request, we identified @moscicki, @nickvergessen and @schnidrig to be potential reviewers.

@PVince81

Copy link
Copy Markdown
Author

Tested passed => this is wrong. Tests must fail on PHP 7

@DeepDiver1975 how are the PHP 7 smashbox tests going ?

@PVince81

Copy link
Copy Markdown
Author

Please review @jvillafanez @DeepDiver1975 @VicDeo @mrow4a, even if tests pass now I think it's fine to merge them. Once the PHP 7 env is there it will reveal the failure and then maybe people will be more interested in reviewing the matching fixes.

Comment thread python/smashbox/utilities/__init__.py Outdated

res = requests.get(log_url)

fatal_check(res.status_code == 200, 'Could not download the log file from the server, statuc code %i' % res.status_code)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PVince81 statuc

@VicDeo

VicDeo commented Jan 13, 2017

Copy link
Copy Markdown

@PVince81 looks good except a typo 👍

Vincent Petry added 2 commits January 13, 2017 17:02
@PVince81 PVince81 merged commit 80f0284 into master Jan 13, 2017
@PVince81 PVince81 deleted the abortion-tests branch January 13, 2017 16:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants