From c94121dee317e8fce8bbf109d0d31c7ace628ff9 Mon Sep 17 00:00:00 2001 From: "Mads R. B. Kristensen" Date: Tue, 1 Oct 2024 10:27:10 +0200 Subject: [PATCH] fix benckmark --- cpp/include/kvikio/remote_handle.hpp | 1 + python/kvikio/tests/test_benchmarks.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cpp/include/kvikio/remote_handle.hpp b/cpp/include/kvikio/remote_handle.hpp index 8bdd75dfc3..aa98b910b7 100644 --- a/cpp/include/kvikio/remote_handle.hpp +++ b/cpp/include/kvikio/remote_handle.hpp @@ -348,6 +348,7 @@ class HttpEndpoint : public RemoteEndpoint { HttpEndpoint(std::string url) : _url{std::move(url)} {} void setopt(detail::CurlHandle& curl) override { curl.setopt(CURLOPT_URL, _url.c_str()); } std::string str() override { return _url; } + ~HttpEndpoint() override = default; }; /** diff --git a/python/kvikio/tests/test_benchmarks.py b/python/kvikio/tests/test_benchmarks.py index 98d54fb6b3..5b5602e53a 100644 --- a/python/kvikio/tests/test_benchmarks.py +++ b/python/kvikio/tests/test_benchmarks.py @@ -85,8 +85,8 @@ def test_zarr_io(run_cmd, tmp_path, api): @pytest.mark.parametrize( "api", [ - "cupy-kvikio", - "numpy-kvikio", + "cupy", + "numpy", ], ) def test_http_io(run_cmd, api):