Skip to content

Commit

Permalink
moz_kinto_publisher: remove obsolete "big stash" test
Browse files Browse the repository at this point in the history
  • Loading branch information
jschanck committed Jan 27, 2025
1 parent 6d21506 commit d1ec932
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions moz_kinto_publisher/test_publisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,19 +358,6 @@ def test_publish_multiple_stashes(self):
self.assertEqual(None, rw_client.publish())
self.assertEqual(db_run_ids, rw_client.get_run_ids())

def test_publish_big_stash(self):
# A big stash should cause us to publish a new filter
rw_client = MockClient()
db = MockRunDB()
# publish a full filter
db_run_ids = [db.add_run(filter_size=10, stash_size=0)]
self.assertEqual(db_run_ids[0], rw_client.publish())
self.assertEqual(db_run_ids, rw_client.get_run_ids())
# add a run with a large stash, we should publish a full filter
db_run_ids += [db.add_run(filter_size=10, stash_size=1000)]
self.assertEqual(db_run_ids[-1], rw_client.publish())
self.assertEqual([db_run_ids[-1]], rw_client.get_run_ids())

def test_publish_delayed_run(self):
rw_client = MockClient()
db = MockRunDB()
Expand Down

0 comments on commit d1ec932

Please sign in to comment.