From 87d5d2eb8308d23b8c9c6e2bbf85eec32e7efa25 Mon Sep 17 00:00:00 2001 From: Jonathan Lifflander Date: Fri, 16 Oct 2020 11:54:14 -0700 Subject: [PATCH] #1111: tests: fix location bug revealed from actually running test --- tests/unit/location/test_location_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/location/test_location_common.h b/tests/unit/location/test_location_common.h index 92e26a6987..0437daaef2 100644 --- a/tests/unit/location/test_location_common.h +++ b/tests/unit/location/test_location_common.h @@ -184,8 +184,8 @@ void verifyCacheConsistency( } else if(my_node not_eq new_home) { // On eager case: the message is directly routed to the // implicitly resolved location. - // Thus the cache is not updated in this case. - EXPECT_FALSE(is_entity_cached); + // Eager update is sent, updating the cache + EXPECT_TRUE(is_entity_cached); } } else /* my_node == home */ { // The entity should be registered in the cache of the home node,