From 0c3b72be9a0506e8692ddf46d66c7ff2123a2195 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Tue, 20 May 2025 23:15:44 -0400 Subject: [PATCH] chore(tests): clarify watcher DB check --- run_all_tests.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/run_all_tests.sh b/run_all_tests.sh index 689bf64..b67aa02 100755 --- a/run_all_tests.sh +++ b/run_all_tests.sh @@ -424,8 +424,10 @@ test_watcher_cli_basic() { log_error "Watcher log file not found: ${watcher_log}" fi - # TODO: Add verification of DB state after watcher (e.g., file_changes table, new files indexed) - # This would require querying the DB: sqlite3 "${watch_test_db}" "SELECT * FROM files;" + # DB verification is skipped for now because the watcher implementation + # only logs events and doesn't update the SQLite database yet. Once the + # watcher writes to the DB we can query "${watch_test_db}" here to assert + # that file_changes or files entries are created. unset MARLIN_DB_PATH log_info "Watcher CLI basic test complete."