           |> get_credential(:none)
           |> get_sysname_with_engine_id(@working_agent)
 
-        assert result == [@sysname_result]
+        assert result == {:ok, [@sysname_result]}
       end
     end
 

          |> get_credential(priv)
          |> get_sysname(@working_agent)

        assert result == [@sysname_result]
      end
    end


        |> get_credential(:none)
        |> get_sysname(@working_agent)

      assert result == {:ok, [@sysname_result]}
    end

    test "timeout with engine discovery" do
