We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c51cdff commit a92ff20Copy full SHA for a92ff20
scripts/test-runner.go
@@ -666,8 +666,8 @@ func printSummary(results []testResult) {
666
}
667
668
func extractVersion(image string) string {
669
- // For TiDB, the image is already just the version number
670
- // For MySQL/Percona/MariaDB, extract version from image string (e.g., "mysql:8.0" -> "8.0")
+ // Extract version from image string
+ // Examples: "mysql:8.0" -> "8.0", "tidb:6.1.7" -> "6.1.7", "percona:5.7" -> "5.7"
671
parts := strings.Split(image, ":")
672
if len(parts) > 1 {
673
return parts[1]
0 commit comments