Stabilize TCP reconnect retry test

This commit is contained in:
ericz committed 2026-11-08 14:41:45 +01:00
1 parent cc12e2eb96
commit ef31136711
2 files changed
+9 -6

No files matched your search

+4
View File
@@ -551,6 +551,10 @@ class MeshCoreConnector extends ChangeNotifier {
bool get isAutoReconnectScheduled =>
(_shouldAutoReconnect || _shouldAutoReconnectTcp) &&
(_reconnectTimer?.isActive ?? false);
@visibleForTesting
int get reconnectAttemptsForTesting => _reconnectAttempts;
String? get activeTcpEndpoint => _tcpConnector.activeEndpoint;
bool get isTcpTransportConnected =>
_state == MeshCoreConnectionState.connected &&