Commit e7f0ca85 authored by Carlos Garnacho's avatar Carlos Garnacho

tests: Ignore previous events from monitor test setup

Similar to commit ff1f66a4. The move..._after_file_update test has
the same issue than the move..._after_file_create, so let's forget those
first events.
parent 47445ff0
......@@ -1123,6 +1123,10 @@ test_monitor_directory_event_moved_to_monitored_after_file_update (TrackerMonito
/* Set to monitor the new dir also */
g_assert_cmpint (tracker_monitor_add (fixture->monitor, source_dir), ==, TRUE);
/* Ignore the events thus far */
events_wait (fixture);
g_hash_table_remove_all (fixture->events);
/* Get final path of the file */
file_in_dest_dir_path = g_build_path (G_DIR_SEPARATOR_S,
fixture->monitored_directory,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment