File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
features/storage/TESTS/flash_journal/basicAPI Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -159,6 +159,7 @@ control_t test_resetAndInitialize(const size_t call_count)
159
159
if (rc == JOURNAL_STATUS_OK) {
160
160
return CaseTimeout (200 );
161
161
}
162
+ TEST_ASSERT_EQUAL (1 , rc); /* synchronous completion of initialize() is expected to return 1 */
162
163
163
164
/* fall through */
164
165
case NEEDS_VERIFICATION_FOLLOWING_INITIALIZE:
@@ -324,6 +325,7 @@ control_t test_initializeAfterLogSmallAndCommit(const size_t call_count)
324
325
printf (" asynchronous_ops for init\n " );
325
326
return CaseTimeout (200 ) + CaseRepeatAll;
326
327
}
328
+ TEST_ASSERT_EQUAL (1 , rc); /* synchronous completion of initialize() is expected to return 1 */
327
329
}
328
330
329
331
FlashJournal_Info_t info;
@@ -440,6 +442,7 @@ control_t test_initializeAfterLogLargeAndCommit(const size_t call_count)
440
442
printf (" test_initializeAfterLogLargeAndCommit: asynchronous_ops for init\n " );
441
443
return CaseTimeout (200 ) + CaseRepeatAll;
442
444
}
445
+ TEST_ASSERT_EQUAL (1 , rc); /* synchronous completion of initialize() is expected to return 1 */
443
446
}
444
447
445
448
FlashJournal_Info_t info;
You can’t perform that action at this time.
0 commit comments