diff --git a/test/uplink/packages/instance/placement_test.exs b/test/uplink/packages/instance/placement_test.exs index 5c284a8..27c55a0 100644 --- a/test/uplink/packages/instance/placement_test.exs +++ b/test/uplink/packages/instance/placement_test.exs @@ -65,11 +65,11 @@ defmodule Uplink.Packages.Instance.PlacementTest do |> Plug.Conn.resp(200, cluster_members) end) - Uplink.Cache.put({:available_nodes, placement_name}, []) - Uplink.Cache.transaction( [keys: [{:available_nodes, placement_name}]], fn -> + Uplink.Cache.put({:available_nodes, placement_name}, []) + assert {:ok, %Placement{}} = Placement.find(node_name, "spread") end )