mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-05 16:15:41 -06:00
/go/performance/utils/benchmark_runner: fix doltgres version command
This commit is contained in:
@@ -125,6 +125,7 @@ const (
|
||||
doltDataDir = ".dolt"
|
||||
createDatabaseTemplate = "create database %s;"
|
||||
psqlDsnTemplate = "host=%s port=%d user=%s password=%s dbname=%s sslmode=disable"
|
||||
doltgresVersionCommand = "-version"
|
||||
|
||||
expectedServerKilledErrorMessage = "signal: killed"
|
||||
expectedServerTerminatedErrorMessage = "signal: terminated"
|
||||
|
||||
@@ -41,7 +41,7 @@ func NewDoltgresBenchmarker(dir string, config SysbenchConfig, serverConfig Serv
|
||||
}
|
||||
|
||||
func (b *doltgresBenchmarkerImpl) checkInstallation(ctx context.Context) error {
|
||||
version := ExecCommand(ctx, b.serverConfig.GetServerExec(), doltVersionCommand)
|
||||
version := ExecCommand(ctx, b.serverConfig.GetServerExec(), doltgresVersionCommand)
|
||||
return version.Run()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user