Skip to content

Commit

Permalink
Fix false potive when the test does not connect to a device. (#16568)
Browse files Browse the repository at this point in the history
  • Loading branch information
krypton36 authored Mar 25, 2022
1 parent 91f0c5a commit 45f5ffc
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 45f5ffc

Please sign in to comment.