From e5da835e80e0875f9a6b26b9a0b2456218b1df06 Mon Sep 17 00:00:00 2001 From: Falk Werner Date: Sat, 7 Mar 2020 17:13:16 +0100 Subject: [PATCH] chore: use interrupt function in tests --- test/webfuse/tests/integration/provider.cc | 1 + test/webfuse/tests/integration/server.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/test/webfuse/tests/integration/provider.cc b/test/webfuse/tests/integration/provider.cc index 45e331a..b1fa44d 100644 --- a/test/webfuse/tests/integration/provider.cc +++ b/test/webfuse/tests/integration/provider.cc @@ -55,6 +55,7 @@ private: { std::lock_guard lock(shutdown_lock); is_shutdown_requested = true; + wfp_client_interrupt(client); } static void Run(Provider::Private * context) diff --git a/test/webfuse/tests/integration/server.cc b/test/webfuse/tests/integration/server.cc index e48f074..177a69f 100644 --- a/test/webfuse/tests/integration/server.cc +++ b/test/webfuse/tests/integration/server.cc @@ -61,6 +61,7 @@ private: { std::lock_guard lock(shutdown_lock); is_shutdown_requested = true; + wf_server_interrupt(server); } static void Run(Server::Private * context)