add proxyInfo-aware timeout to node test

This commit is contained in:
sneurlax 2024-07-30 17:35:27 -05:00 committed by julian-CStack
parent 1153162fa9
commit 23c76b5034

View file

@ -45,7 +45,7 @@ Future<bool> _xmrHelper(
Uri.parse(uriString),
false,
proxyInfo: proxyInfo,
);
).timeout(Duration(seconds: proxyInfo != null ? 30 : 10));
if (response.cert != null) {
if (context.mounted) {