Skip to content

Commit

Permalink
✅ Attempt to skip flakes
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Mar 15, 2024
1 parent e1399ce commit ea87715
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dio_test/lib/src/test/download_stream_tests.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ void downloadStreamTests(
test('cancels request', () async {
final cancelToken = CancelToken();

Future.delayed(const Duration(milliseconds: 50), () {
Future.delayed(const Duration(milliseconds: 10), () {
cancelToken.cancel();
});

await expectLater(
dio.get(
'/bytes/5000',
'/bytes/10000',
options: Options(responseType: ResponseType.stream),
cancelToken: cancelToken,
),
Expand Down

0 comments on commit ea87715

Please sign in to comment.