Skip to content

Commit

Permalink
Fix false potive when the test does not connect to a device.
Browse files Browse the repository at this point in the history
  • Loading branch information
krypton36 committed Mar 24, 2022
1 parent 011efcf commit 84b67a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/chip-tool/commands/tests/TestCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void TestCommand::OnDeviceConnectionFailureFn(void * context, PeerId peerId, CHI
auto * command = static_cast<TestCommand *>(context);
VerifyOrReturn(command != nullptr, ChipLogError(chipTool, "Test command context is null"));

LogErrorOnFailure(command->ContinueOnChipMainThread(CHIP_NO_ERROR));
LogErrorOnFailure(command->ContinueOnChipMainThread(error));
}

void TestCommand::Exit(std::string message)
Expand Down

0 comments on commit 84b67a4

Please sign in to comment.