tests: attempt to fix kill test
[awesomized/libmemcached] / tests / libmemcached-1.0 / ketama.cc
index 4dfaf2bfd76a1a384d7b4954e9688f9a180c9ce9..99491fc395f0e8b2726c0fd9011e7985f68f935a 100644 (file)
  *
  */
 
-#include <mem_config.h>
-#include <libtest/test.hpp>
+#include "mem_config.h"
+#include "libtest/test.hpp"
 
-#include <libmemcached-1.0/memcached.h>
+#include "libmemcached-1.0/memcached.h"
 
 #include "libmemcached/server_instance.h"
 #include "libmemcached/continuum.hpp"
 #include "libmemcached/instance.hpp"
 
-#include <tests/ketama.h>
-#include <tests/ketama_test_cases.h>
+#include "tests/ketama.h"
+#include "tests/ketama_test_cases.h"
 
 test_return_t ketama_compatibility_libmemcached(memcached_st *)
 {
@@ -245,7 +245,7 @@ test_return_t ketama_compatibility_spymemcached(memcached_st *)
   test_compare(MEMCACHED_SUCCESS,
                memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_KETAMA_WEIGHTED, 1));
 
-  test_compare(UINT64_C(1), memcached_behavior_get(memc, MEMCACHED_BEHAVIOR_KETAMA_WEIGHTED));
+  test_compare(uint64_t(1), memcached_behavior_get(memc, MEMCACHED_BEHAVIOR_KETAMA_WEIGHTED));
 
   test_compare(MEMCACHED_SUCCESS, memcached_behavior_set_distribution(memc, MEMCACHED_DISTRIBUTION_CONSISTENT_KETAMA_SPY));
   test_compare(MEMCACHED_DISTRIBUTION_CONSISTENT_KETAMA_SPY, memcached_behavior_get_distribution(memc));