Skip to content

Commit

Permalink
Added temporary logs to see why test fails in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lpbeliveau-silabs committed Nov 13, 2023
1 parent fe6bedf commit ab73231
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/tests/TestSceneTable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1445,6 +1445,10 @@ void TestEndpointScenes(nlTestSuite * aSuite, void * aContext)
NL_TEST_ASSERT(aSuite, CHIP_ERROR_NOT_FOUND == sceneTable->GetSceneTableEntry(kFabric1, sceneId7, scene));

// Check Fabric2 on Endpoint 2
// TODO: Remove logs before merge, these checks are somehow only failing in CI, logs added for debugging
CHIP_ERROR err = sceneTable->GetSceneTableEntry(kFabric2, sceneId1, scene);
ChipLogError(DataManagement, "Error Get Fabric 2 Endpoint 2 scene 1: %s\n", ErrorStr(err));
// END TODO
NL_TEST_ASSERT(aSuite, CHIP_ERROR_NOT_FOUND == sceneTable->GetSceneTableEntry(kFabric2, sceneId1, scene));
NL_TEST_ASSERT(aSuite, CHIP_ERROR_NOT_FOUND == sceneTable->GetSceneTableEntry(kFabric2, sceneId2, scene));
NL_TEST_ASSERT(aSuite, CHIP_ERROR_NOT_FOUND == sceneTable->GetSceneTableEntry(kFabric2, sceneId3, scene));
Expand Down

0 comments on commit ab73231

Please sign in to comment.