Skip to content

Commit

Permalink
PMM-11180 fixing tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
BupycHuk committed Oct 17, 2024
1 parent a10e390 commit 97517da
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ jobs:
# - MYSQL_IMAGE=mariadb:10.0
# - MYSQL_IMAGE=mariadb:10.1

- { mysql: 'mariadb:11.2', mongo: 'mongo:4.4', postgres: 'postgres:10', pmm_server: 'perconalab/pmm-server:3-dev-latest' }
- { mysql: 'mariadb:11.4', mongo: 'percona/percona-server-mongodb:4.4', postgres: 'postgres:11', pmm_server: 'perconalab/pmm-server:3-dev-latest' }
- { mysql: 'mariadb:11.5', postgres: 'postgres:12', pmm_server: 'perconalab/pmm-server:3-dev-latest' }
- { mysql: 'mariadb:11.2', mongo: 'mongo:4.4', postgres: 'postgres:12', pmm_server: 'perconalab/pmm-server:3-dev-latest' }
- { mysql: 'mariadb:11.4', mongo: 'percona/percona-server-mongodb:4.4', postgres: 'perconalab/percona-distribution-postgresql:13', pmm_server: 'perconalab/pmm-server:3-dev-latest' }
- { mysql: 'mariadb:11.5', postgres: 'postgres:13', pmm_server: 'perconalab/pmm-server:3-dev-latest' }

continue-on-error: true

Expand Down
1 change: 1 addition & 0 deletions agent/agents/mysql/perfschema/perfschema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ func TestPerfSchema(t *testing.T) {
var rowsExamined float32
ctx := context.Background()
mySQLVersion, mySQLVendor, _ := version.GetMySQLVersion(ctx, db.WithTag("pmm-agent-tests:MySQLVersion"))
t.Logf("MySQL version: %s, vendor: %s", mySQLVersion, mySQLVendor)
var digests map[string]string // digest_text/fingerprint to digest/query_id
switch fmt.Sprintf("%s-%s", mySQLVersion, mySQLVendor) {
case "5.6-oracle":
Expand Down
1 change: 1 addition & 0 deletions agent/runner/actions/mongodb_explain_action_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ func TestMongoDBExplain(t *testing.T) {
want["maxScansToExplodeReached"] = false
want["optimizationTimeMillis"] = map[string]interface{}{"$numberInt": "0"}
want["winningPlan"] = map[string]interface{}{"stage": "EOF", "isCached": false}
want["prunedSimilarIndexes"] = false
}

explainM := make(map[string]interface{})
Expand Down

0 comments on commit 97517da

Please sign in to comment.