From 6e60ca0803c5d885e4c446581f2ebba8fda06fb5 Mon Sep 17 00:00:00 2001 From: Andrew Dryga Date: Tue, 2 Apr 2024 13:33:11 -0600 Subject: [PATCH] hotfix: try a different workaround to fix flaky bypass test --- elixir/apps/domain/test/support/data_case.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/elixir/apps/domain/test/support/data_case.ex b/elixir/apps/domain/test/support/data_case.ex index 83f1f49d3..05af40bc9 100644 --- a/elixir/apps/domain/test/support/data_case.ex +++ b/elixir/apps/domain/test/support/data_case.ex @@ -59,6 +59,7 @@ defmodule Domain.DataCase do See https://github.com/PSPDFKit-labs/bypass/issues/120 """ def cancel_bypass_expectations_check(bypass) do + Bypass.down(bypass) on_exit({Bypass, bypass.pid}, fn -> :ok end) end end