Skip to content

Commit

Permalink
Merge pull request #7208 from dolthub/db/sysbench
Browse files Browse the repository at this point in the history
[no-release-notes] /go/performance/utils/sysbench_runner/config.go: only use non-postgres lua scripts
  • Loading branch information
coffeegoddd authored Dec 26, 2023
2 parents f35a581 + 23d39cf commit b51f8b3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion go/performance/utils/sysbench_runner/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down

0 comments on commit b51f8b3

Please sign in to comment.