Skip to content

Commit e2f85ce

Browse files
committed
tests: fixes to crashing agent
[ci skip]
1 parent e7c672a commit e2f85ce

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/network/ConnectionForward.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class ConnectionForward extends Connection {
209209
await Promise.race([
210210
Promise.all([readyP, secureConnectP]),
211211
errorP,
212-
abortedP,
212+
// abortedP,
213213
]);
214214
} catch (e) {
215215
// Clean up partial start

src/network/ConnectionReverse.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class ConnectionReverse extends Connection {
176176
this.serverSocket.on('close', this.handleClose);
177177
let punchInterval;
178178
try {
179-
await Promise.race([socketP, errorP, abortedP]);
179+
await Promise.race([socketP, errorP, /*abortedP*/]);
180180
// Send punch & ready signal
181181
// if (this.port !== 1314) {
182182
// console.log(
@@ -198,7 +198,7 @@ class ConnectionReverse extends Connection {
198198
// }
199199
await this.send(networkUtils.pingBuffer);
200200
}, this.punchIntervalTime);
201-
await Promise.race([readyP, errorP, abortedP]);
201+
await Promise.race([readyP, errorP, /*abortedP*/]);
202202
} catch (e) {
203203
this.logger.info(`Failed to start Connection Reverse: ${e.message}`);
204204
// Clean up partial start

0 commit comments

Comments
 (0)