From 31669bf076d47f267017153d874ba94d09729830 Mon Sep 17 00:00:00 2001 From: Alex Tymchuk Date: Mon, 18 Sep 2023 14:00:46 +0000 Subject: [PATCH] PMM-12375 fix the agent tests --- agent/serviceinfobroker/service_info_broker_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agent/serviceinfobroker/service_info_broker_test.go b/agent/serviceinfobroker/service_info_broker_test.go index d06f36e524c..61b3efb0b40 100644 --- a/agent/serviceinfobroker/service_info_broker_test.go +++ b/agent/serviceinfobroker/service_info_broker_test.go @@ -161,7 +161,7 @@ func TestServiceInfoBroker(t *testing.T) { // Use MySQL for ProxySQL tests for now. // TODO https://jira.percona.com/browse/PMM-4930 - // NOTE the above will also fix the error `Unknown system variable 'admin-version'` + // NOTE the above will also fix the error `Error 1193 (HY000): Unknown system variable 'admin-version'` { name: "ProxySQL/MySQL", req: &agentpb.ServiceInfoRequest{ @@ -169,7 +169,7 @@ func TestServiceInfoBroker(t *testing.T) { Type: inventorypb.ServiceType_PROXYSQL_SERVICE, Timeout: durationpb.New(3 * time.Second), }, - expectedErr: `Unknown system variable 'admin-version'`, + expectedErr: `Error 1193 \(HY000\): Unknown system variable 'admin-version'`, }, { name: "ProxySQL/MySQL wrong params",