-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Storage wrapper in testing app to simulate upload timeout #32183
Comments
this could be used to generate deterministic failures in web UI acceptance tests (chunked upload) by setting expected failures on specific chunk ids |
and @individual-it |
what about using |
in general it depends whether you want deterministic or non-deterministic tests in the case of deterministic you'll get exactly the failure you expect |
@PVince81 It's about keeping ownCloud as a "blackbox" which we can fortunately alter it's behavior inside to achieve deterministic outcomes. We are moving towards a @individual-it |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions. |
To test cases like #32170, one currently needs to patch the OC code to simulate timeouts.
One idea would be to add an extension for the "testing" app to enable random or controlled failures during uploads:
@DeepDiver1975 @phil-davis @patrickjahns @davitol @butonic
The text was updated successfully, but these errors were encountered: