diff --git a/go/performance/utils/benchmark_runner/constants.go b/go/performance/utils/benchmark_runner/constants.go index 389882e4be..512589190f 100644 --- a/go/performance/utils/benchmark_runner/constants.go +++ b/go/performance/utils/benchmark_runner/constants.go @@ -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" diff --git a/go/performance/utils/benchmark_runner/doltgres.go b/go/performance/utils/benchmark_runner/doltgres.go index ad129c0adb..11353d620b 100644 --- a/go/performance/utils/benchmark_runner/doltgres.go +++ b/go/performance/utils/benchmark_runner/doltgres.go @@ -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() }