Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests for aborted downloads #151

Merged
merged 2 commits into from
Jan 13, 2017
Merged

Tests for aborted downloads #151

merged 2 commits into from
Jan 13, 2017

Conversation

PVince81
Copy link

@PVince81 PVince81 commented Dec 2, 2016

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

@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
Author

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

@DeepDiver1975 how are the PHP 7 smashbox tests going ?

@PVince81
Copy link
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.


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
Member

Choose a reason for hiding this comment

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

@PVince81 statuc

@VicDeo
Copy link
Member

VicDeo commented Jan 13, 2017

@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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants