From 0918f45e3391b92f96e8c24d5def1863ceb937e2 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Sun, 27 Nov 2011 15:03:03 -0800 Subject: [PATCH] Rely on the jenkins test. --- tests/mem_functions.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/mem_functions.cc b/tests/mem_functions.cc index 321b5fc0..ce352609 100644 --- a/tests/mem_functions.cc +++ b/tests/mem_functions.cc @@ -941,8 +941,11 @@ static test_return_t bad_key_test(memcached_st *memc) memcached_callback_set(memc_clone, MEMCACHED_CALLBACK_NAMESPACE, NULL)); std::vector longkey; - longkey.reserve(MEMCACHED_MAX_KEY); - longkey.insert(longkey.end(), MEMCACHED_MAX_KEY, 'a'); + { + std::vector::iterator it= longkey.begin(); + longkey.insert(it, MEMCACHED_MAX_KEY, 'a'); + } + test_compare(longkey.size(), size_t(MEMCACHED_MAX_KEY)); { size_t string_length; @@ -3463,7 +3466,7 @@ static test_return_t pre_jenkins(memcached_st *memc) { memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_HASH, (uint64_t)MEMCACHED_HASH_JENKINS); - return TEST_SUCCESS; + return TEST_SKIPPED; } -- 2.30.2