Skip to content

Commit

Permalink
UnitTests: fix thread join test (flipperdevices#1808)
Browse files Browse the repository at this point in the history
  • Loading branch information
skotopes authored Sep 30, 2022
1 parent 836de3d commit 0f9ea92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions applications/debug/unit_tests/storage/storage_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ MU_TEST(storage_file_open_lock) {
storage_file_close(file);

// file_locker thread stop
mu_check(furi_thread_join(locker_thread) == FuriStatusOk);
mu_check(furi_thread_join(locker_thread));
furi_thread_free(locker_thread);

// clean data
Expand Down Expand Up @@ -148,7 +148,7 @@ MU_TEST(storage_dir_open_lock) {
storage_dir_close(file);

// file_locker thread stop
mu_check(furi_thread_join(locker_thread) == FuriStatusOk);
mu_check(furi_thread_join(locker_thread));
furi_thread_free(locker_thread);

// clean data
Expand Down

0 comments on commit 0f9ea92

Please sign in to comment.