diff --git a/api-tests/management/action/explain_test.go b/api-tests/management/action/explain_test.go index e1cee0c477..04156ca2bf 100644 --- a/api-tests/management/action/explain_test.go +++ b/api-tests/management/action/explain_test.go @@ -31,31 +31,6 @@ import ( func TestRunExplain(t *testing.T) { t.Skip("not implemented yet") - t.Run("ByQuery", func(t *testing.T) { - explainActionOK, err := client.Default.ActionsService.StartMySQLExplainAction(&actions.StartMySQLExplainActionParams{ - Context: pmmapitests.Context, - Body: actions.StartMySQLExplainActionBody{ - // PMMAgentID: "/agent_id/f235005b-9cca-4b73-bbbd-1251067c3138", - ServiceID: "/service_id/5a9a7aa6-7af4-47be-817c-6d88e955bff2", - QueryID: "3923dace316a86643fcf87cb45e0558a", - }, - }) - require.NoError(t, err) - require.NotEmpty(t, explainActionOK.Payload.ActionID) - - time.Sleep(2 * time.Second) - - actionOK, err := client.Default.ActionsService.GetAction(&actions.GetActionParams{ - Context: pmmapitests.Context, - Body: actions.GetActionBody{ - ActionID: explainActionOK.Payload.ActionID, - }, - }) - require.NoError(t, err) - require.Empty(t, actionOK.Payload.Error) - t.Log(actionOK.Payload.Output) - }) - t.Run("ByQueryID", func(t *testing.T) { explainActionOK, err := client.Default.ActionsService.StartMySQLExplainAction(&actions.StartMySQLExplainActionParams{ Context: pmmapitests.Context,