From 5c2b5be3c5718c8b644263c14e90dc3c9cd0781f Mon Sep 17 00:00:00 2001 From: Tennessee Carmel-Veilleux Date: Tue, 28 Jun 2022 18:59:40 -0400 Subject: [PATCH] Fix CI again --- src/credentials/tests/TestFabricTable.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/credentials/tests/TestFabricTable.cpp b/src/credentials/tests/TestFabricTable.cpp index 20a52f3892e0a2..b652dfbfd120a3 100644 --- a/src/credentials/tests/TestFabricTable.cpp +++ b/src/credentials/tests/TestFabricTable.cpp @@ -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 *** {