Skip to content

Commit

Permalink
test: try different delay
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinzent03 committed Sep 16, 2024
1 parent 463fdea commit 7dc9dcb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/realtime_client/test/mock_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,10 @@ void main() {

channel.subscribe(subscribeCallback);

await Future.delayed(Duration(milliseconds: 200));
await Future.delayed(Duration(milliseconds: 500));
await client.conn!.sink
.close(Constants.wsCloseNormal, "heartbeat timeout");
await Future.delayed(Duration(milliseconds: 500));
});
});

Expand Down

0 comments on commit 7dc9dcb

Please sign in to comment.