Skip to content

Commit

Permalink
PMM-12375 fix the agent tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Tymchuk committed Sep 18, 2023
1 parent 8319521 commit 31669bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/serviceinfobroker/service_info_broker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,15 +161,15 @@ 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{
Dsn: "root:root-password@tcp(127.0.0.1:3306)/?clientFoundRows=true&parseTime=true&timeout=1s",
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",
Expand Down

0 comments on commit 31669bf

Please sign in to comment.