Adjusted test (very rarely len of stored_event.state is 135).
@@ -77,6 +77,7 @@ class TestMapper(TestCase):
assert copy.originator_version == domain_event.originator_version
assert len(stored_event.state) in (
+ 135,
136,
137,
138,
