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

✅ Fix download stream tests #2140

Merged
merged 1 commit into from
Mar 15, 2024
Merged

✅ Fix download stream tests #2140

merged 1 commit into from
Mar 15, 2024

Conversation

AlexV525
Copy link
Member

The GitHub runner is much faster than our configurations, apparently.

New Pull Request Checklist

  • I have read the Documentation
  • I have searched for a similar pull request in the project and found none
  • I have updated this branch with the latest main branch to avoid conflicts (via merge from master or rebase)
  • I have added the required tests to prove the fix/feature I'm adding
  • I have updated the documentation (if necessary)
  • I have run the tests without failures
  • I have updated the CHANGELOG.md in the corresponding package

@AlexV525 AlexV525 requested a review from a team as a code owner March 15, 2024 02:59
@AlexV525 AlexV525 added this pull request to the merge queue Mar 15, 2024
Merged via the queue into main with commit 63a4e89 Mar 15, 2024
3 checks passed
@AlexV525 AlexV525 deleted the fix/download-stream-tests branch March 15, 2024 03:34
@kuhnroyal
Copy link
Member

I ran across same problem when trying to run the tests against local Httpbun. The response pretty much returns instantly, sun 5ms. Not sure what to do.

github-merge-queue bot pushed a commit that referenced this pull request Mar 18, 2024
- Further try #2140, using `drip` to control the overall response
duration.
- Make cancellation calls only after the response stream has been
obtained to keep the call sequence.
- Using the non-routable URL (10.0.0.0) to mock connection timeouts.

### New Pull Request Checklist

- [x] I have read the
[Documentation](https://pub.dev/documentation/dio/latest/)
- [x] I have searched for a similar pull request in the
[project](https://github.com/cfug/dio/pulls) and found none
- [x] I have updated this branch with the latest `main` branch to avoid
conflicts (via merge from master or rebase)
- [x] I have added the required tests to prove the fix/feature I'm
adding
- [ ] I have updated the documentation (if necessary)
- [x] I have run the tests without failures
- [ ] I have updated the `CHANGELOG.md` in the corresponding package
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