Skip to content

Commit

Permalink
chore: cleanup PR #6507
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone committed Nov 20, 2023
1 parent 4a84ff5 commit ba3da16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
9 changes: 0 additions & 9 deletions packages/zwave-js/src/lib/driver/Driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4973,18 +4973,9 @@ ${handlers.length} left`,
msg,
transactionSource,
);
this.driverLog.print("SerialAPI command succeeded");
result.resolve(ret);
} catch (e) {
this.driverLog.print(
"SerialAPI command failed: " + getErrorMessage(e),
);
result.reject(e);

// // We may want to handle the error before continuing with the next command
// // Ideally, we'd pause the queue here and resume it when the error was handled,
// // but this system isn't in place yet.
// await wait(250);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -692,10 +692,10 @@ integrationTest(
},
);

integrationTestMulti.only(
integrationTestMulti(
"When a command from the immediate queue to a sleeping node triggers the unresponsive controller recovery, the normal send queue does not get blocked",
{
debug: true,
// debug: true,

provisioningDirectory: path.join(
__dirname,
Expand Down Expand Up @@ -780,10 +780,6 @@ integrationTestMulti.only(
mockController.defineBehavior(handleBrokenSendData);
},
testBody: async (t, driver, nodes, mockController, mockNodes) => {
driver.driverLog.print("TEST START");
driver.driverLog.print("TEST START");
driver.driverLog.print("TEST START");
driver.driverLog.print("TEST START");
driver.driverLog.print("TEST START");
// Circumvent the options validation so the test doesn't take forever
driver.options.timeouts.sendDataAbort = 1000;
Expand Down

0 comments on commit ba3da16

Please sign in to comment.