Skip to content

Commit

Permalink
#1111: tests: fix location bug revealed from actually running test
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Oct 16, 2020
1 parent ea5ca54 commit 87d5d2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/location/test_location_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 87d5d2e

Please sign in to comment.