Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporarily disable flaky TestFailSafeContext #20090

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/app/tests/TestFailSafeContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,15 @@ constexpr FabricIndex kTestAccessingFabricIndex2 = 2;

static void TestPlatformMgr_Init(nlTestSuite * inSuite, void * inContext)
{
// TODO(#20089): Bring-back after we figure-out what crashes
CHIP_ERROR err = PlatformMgr().InitChipStack();
NL_TEST_ASSERT(inSuite, err == CHIP_NO_ERROR);
}

static void TestFailSafeContext_ArmFailSafe(nlTestSuite * inSuite, void * inContext)
{
// TODO(#20089): Bring-back after we figure-out what crashes
#if 0
CHIP_ERROR err = CHIP_NO_ERROR;

chip::app::FailSafeContext failSafeContext;
Expand All @@ -69,10 +72,13 @@ static void TestFailSafeContext_ArmFailSafe(nlTestSuite * inSuite, void * inCont

failSafeContext.DisarmFailSafe();
NL_TEST_ASSERT(inSuite, failSafeContext.IsFailSafeArmed() == false);
#endif
}

static void TestFailSafeContext_NocCommandInvoked(nlTestSuite * inSuite, void * inContext)
{
// TODO(#20089): Bring-back after we figure-out what crashes
#if 0
CHIP_ERROR err = CHIP_NO_ERROR;

chip::app::FailSafeContext failSafeContext;
Expand All @@ -91,6 +97,7 @@ static void TestFailSafeContext_NocCommandInvoked(nlTestSuite * inSuite, void *
NL_TEST_ASSERT(inSuite, failSafeContext.UpdateNocCommandHasBeenInvoked() == true);

failSafeContext.DisarmFailSafe();
#endif
}

/**
Expand Down