       :ok = fun.(name)
     end
   end
-  
-  defp start_apps() do
-    Application.ensure_all_started(:distillery)
-  end
 end

    # Add the extra code path for the slave node
    args = ["-pa", ebin_path]
    post_start_funs = [
      fn -> 
        Application.ensure_all_started(:distillery) 
        Application.ensure_all_started(app)
      end]
    # Start the node
    {:ok, pid} = NodeManager.start_nolink([
      boot_timeout: 30_000, 

  setup do
    {:ok, pid} = NodeManager.start_nolink([
      boot_timeout: 30_000, 
      post_start_functions: [{Application, :ensure_all_started, [:distillery]}],
      stdout: :standard_error
    ])
    on_exit fn -> 
