Skip to content

Commit

Permalink
Fix CI again
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmelveilleux committed Jun 28, 2022
1 parent 8e1f9c4 commit 5c2b5be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/credentials/tests/TestFabricTable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1831,11 +1831,13 @@ void TestCommitMarker(nlTestSuite * inSuite, void * inContext)
NL_TEST_ASSERT_SUCCESS(inSuite, fIdx1PublicKey.ECDSA_validate_msg_signature(&message[0], sizeof(message), sig));
}
}
numStorageKeysAfterFirstAdd = storage.GetNumKeys();

NL_TEST_ASSERT(inSuite, numStorageKeysAfterFirstAdd == 7); // Metadata, index, 3 certs, 1 opkey, last known good time

// The following test requires test methods not available on all builds.
// TODO: Debug why some CI jobs don't set it properly.
#if CONFIG_BUILD_FOR_HOST_UNIT_TEST
numStorageKeysAfterFirstAdd = storage.GetNumKeys();

// Add Fabric 2222 Node Id 66, no ICAC *** AND ABORT COMMIT ***
{
Expand Down

0 comments on commit 5c2b5be

Please sign in to comment.