summaryrefslogtreecommitdiff
path: root/tests/Cache_Map_Manager_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Cache_Map_Manager_Test.cpp')
-rw-r--r--tests/Cache_Map_Manager_Test.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/Cache_Map_Manager_Test.cpp b/tests/Cache_Map_Manager_Test.cpp
index 7953a125251..e66b590ddd5 100644
--- a/tests/Cache_Map_Manager_Test.cpp
+++ b/tests/Cache_Map_Manager_Test.cpp
@@ -238,13 +238,17 @@ find_test_cache (MAP_CACHE &cache)
{
VALUE j = 0;
int result = cache.find (lookup_array[i], j);
-
+ result = cache.find (lookup_array[i]);
ACE_TEST_ASSERT (result != -1);
ACE_TEST_ASSERT (j == lookup_array[i]);
if (debug)
ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("%d "), j));
+ // Once more, with only the key. Test Bugzilla #4029.
+ result = cache.find (lookup_array[i]);
+ ACE_TEST_ASSERT (result != -1);
+
ACE_UNUSED_ARG (result);
}