             "-boot", "#{app}",
             "-master", "test_cli@127.0.0.1",
             "-s", "slave", "slave_start", "test_cli@127.0.0.1", "slave_waiter_0",
-            "-name", "#{app}@127.0.0.1",
+            "-name", "#{app}#{id}@127.0.0.1",
             "-setcookie", "#{Node.get_cookie}",
             "-heart",
             "-env", "HEART_COMMAND", heart_cmd,

      end)
    end

    test "can reboot node" do
      use LanguageExtensions.While

      assert is_success(:ctrl_app, [heart: true], fn peer ->
        # Watch for the node going down
        :erlang.monitor_node(peer, true)
        # Get the pid of a worker running in the app on the peer node and monitor it

  alias Mix.Releases.Runtime.Control

  setup_all do
    :rand.seed(:exs64)
    Application.put_env(:artificery, :no_halt, true)
    boot_server = :"test_cli@127.0.0.1"
    :ok = start_boot_server(boot_server)
    tab = :ets.new(__MODULE__, [:public, :set])
    :ets.insert_new(tab, {:counter, 1})
    %{table: tab}
  end
  
  setup %{table: tab} do
    id = :ets.update_counter(tab, :counter, 1)
    peer = :"test_cli_slave#{id}@127.0.0.1"
    [:ok] = spawn_nodes([peer])
    %{node: peer}
  end

  describe "when pinging a node" do
