mirror of
https://github.com/PR0M3TH3AN/Marlin.git
synced 2025-09-08 23:28:44 +00:00
chore(tests): clarify watcher DB check
This commit is contained in:
@@ -424,8 +424,10 @@ test_watcher_cli_basic() {
|
|||||||
log_error "Watcher log file not found: ${watcher_log}"
|
log_error "Watcher log file not found: ${watcher_log}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# TODO: Add verification of DB state after watcher (e.g., file_changes table, new files indexed)
|
# DB verification is skipped for now because the watcher implementation
|
||||||
# This would require querying the DB: sqlite3 "${watch_test_db}" "SELECT * FROM files;"
|
# 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
|
unset MARLIN_DB_PATH
|
||||||
log_info "Watcher CLI basic test complete."
|
log_info "Watcher CLI basic test complete."
|
||||||
|
Reference in New Issue
Block a user