diff --git a/tests/test_integration.c b/tests/test_integration.c index c39a58b7d6fef665bcd77327ab63d037736a5b6b..1a322029675e268b8872aff17dfcdc57c9c9afb3 100644 --- a/tests/test_integration.c +++ b/tests/test_integration.c @@ -71,7 +71,8 @@ static PyObject* init(PyObject* self, PyObject* args) memset(&opts, 0, sizeof(opts)); opts.path = global_tmpdir; opts.mapsize = 100 * 4096; - assert(kr_cache_open(&global_context.cache, NULL, &opts, &global_mm) == 0); + int ret = kr_cache_open(&global_context.cache, NULL, &opts, &global_mm); + assert(ret == 0); /* No configuration parsing support yet. */ if (strstr(config, "query-minimization: on") == NULL) {