From 7dc9dcb35fe701fd67db8daf883a3f81dd7e466c Mon Sep 17 00:00:00 2001 From: Vinzent Date: Mon, 16 Sep 2024 21:24:40 +0200 Subject: [PATCH] test: try different delay --- packages/realtime_client/test/mock_test.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/realtime_client/test/mock_test.dart b/packages/realtime_client/test/mock_test.dart index 81b3b64f..290b4416 100644 --- a/packages/realtime_client/test/mock_test.dart +++ b/packages/realtime_client/test/mock_test.dart @@ -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)); }); });