diff --git a/tests/unit/test_kokkos_serialize_unordered_map.cc b/tests/unit/test_kokkos_serialize_unordered_map.cc index 245d1a01..055d76c9 100644 --- a/tests/unit/test_kokkos_serialize_unordered_map.cc +++ b/tests/unit/test_kokkos_serialize_unordered_map.cc @@ -68,7 +68,7 @@ static void test_kokkos_unordered_map( ASSERT_FALSE(outMap.failed_insert()); ASSERT_EQ(refMap.size(), outMap.size()); - ASSERT_EQ(refMap.capacity(), outMap.capacity()); + ASSERT_LE(refMap.capacity(), outMap.capacity()); // check all keys and values for (typename UnorderedMapType::size_type i = 0; i < refMap.capacity(); i++) {