Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7163748
D1376.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
878 B
Subscribers
None
D1376.diff
View Options
diff --git a/swh/storage/tests/test_storage.py b/swh/storage/tests/test_storage.py
--- a/swh/storage/tests/test_storage.py
+++ b/swh/storage/tests/test_storage.py
@@ -2931,7 +2931,7 @@
self.assertEqual(origin_visits, [])
@given(strategies.sets(origins().map(lambda x: tuple(x.to_dict().items())),
- min_size=11, max_size=30))
+ min_size=6, max_size=15))
def test_origin_get_range(self, new_origins):
self.reset_storage_tables()
new_origins = list(map(dict, new_origins))
@@ -2954,7 +2954,7 @@
self.assertIn(origin, new_origins)
origin_from = -1
- origin_count = 10
+ origin_count = 5
origins = list(
self.storage.origin_get_range(origin_from=origin_from,
origin_count=origin_count))
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 30, 2:39 PM (8 h, 1 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3225483
Attached To
D1376: Make test_origin_get_range run faster (less objects).
Event Timeline
Log In to Comment