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 and pull[bot] committed Aug 21, 2023
1 parent 18df898 commit 3860108
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 3860108

Please sign in to comment.