def METHOD_NAME(self):
    logdir = self.get_temp_dir()
    with test_util.FileWriter(logdir) as writer:
        writer.add_test_summary("foo")
    loader = self._create_logdir_loader(logdir)
    loader.synchronize_runs()
    self.assertEqual(
        self._extract_run_to_tags(loader.get_run_events()), {".": ["foo"]}
    )
    shutil.rmtree(logdir)
    runs_to_events = loader.get_run_events()
    self.assertEqual(list(runs_to_events.keys()), ["."])
    events = runs_to_events["."]
    self.assertEqual(self._extract_tags(events), [])