From 23d39cf2f16987346ff0e95b29676e9288d532d3 Mon Sep 17 00:00:00 2001 From: coffeegoddd Date: Tue, 26 Dec 2023 11:36:56 -0800 Subject: [PATCH] /go/performance/utils/sysbench_runner/config.go: only use non-postgres lua scripts --- go/performance/utils/sysbench_runner/config.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/go/performance/utils/sysbench_runner/config.go b/go/performance/utils/sysbench_runner/config.go index 3949c283f44..8c40f149ce9 100644 --- a/go/performance/utils/sysbench_runner/config.go +++ b/go/performance/utils/sysbench_runner/config.go @@ -491,7 +491,11 @@ func getLuaScriptTestsFromDir(dir string) ([]*ConfigTest, error) { // Append all the lua scripts except for the `_common.lua` scripts which shouldnt be tested directly if strings.HasSuffix(path, ".lua") && !strings.Contains(path, "_common.lua") { - luaScripts = append(luaScripts, NewConfigTest(path, []string{}, true)) + + // todo: make this work with doltgres + if !strings.Contains(path, "postgres") { + luaScripts = append(luaScripts, NewConfigTest(path, []string{}, true)) + } } return nil })