From e9d771a4e8e3509db65ea759f03c066a3839ca2f Mon Sep 17 00:00:00 2001 From: robin-near <111538878+robin-near@users.noreply.github.com> Date: Wed, 26 Jul 2023 10:33:41 -0700 Subject: [PATCH] Fix flaky test_serialize_maps. (#9352) --- nearcore/src/entity_debug_serializer.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nearcore/src/entity_debug_serializer.rs b/nearcore/src/entity_debug_serializer.rs index 0e56e8d1934..64b33f05115 100644 --- a/nearcore/src/entity_debug_serializer.rs +++ b/nearcore/src/entity_debug_serializer.rs @@ -577,8 +577,7 @@ mod tests { use std::collections::HashMap; let mut map = HashMap::new(); map.insert("a".to_owned(), 1); - map.insert("b".to_owned(), 2); - assert_eq!(serialize_entity(&map), tree(vec![("a", val("1")), ("b", val("2"))])); + assert_eq!(serialize_entity(&map), tree(vec![("a", val("1"))])); } #[test]