test/mpool_tests.c

changeset 241
661f33ef20d8
parent 225
a1a068c2c4ef
child 250
b7d1317b138e
--- a/test/mpool_tests.c	Mon Mar 06 15:37:40 2017 +0100
+++ b/test/mpool_tests.c	Mon Mar 06 16:09:42 2017 +0100
@@ -67,7 +67,7 @@
     intptr_t *test = (intptr_t*) ucx_mempool_malloc(pool, sizeof(intptr_t));
     
     UCX_TEST_ASSERT(pool->ndata == 2, "counter not incremented");
-    UCX_TEST_ASSERT(pool->size == 17, "chcap not called");
+    UCX_TEST_ASSERT(pool->size == 2, "chcap not called");
     
     intptr_t *pooladdr =
             (intptr_t*)((char*)pool->data[1] + sizeof(ucx_destructor));

mercurial