Skip to content

Commit

Permalink
Merge pull request #453 from vitessio/skip-oltp-readonly-olap
Browse files Browse the repository at this point in the history
  • Loading branch information
frouioui authored Oct 10, 2023
2 parents 69b7a6e + 7cffa50 commit 3469573
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions go/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,16 @@ func (s *Server) Init() error {
}

s.benchmarkConfig = map[string]benchmarkConfig{
"micro": {file: path.Join(s.benchmarkConfigPath, "micro.yaml"), v: viper.New(), skip: true},
"oltp": {file: path.Join(s.benchmarkConfigPath, "oltp.yaml"), v: viper.New()},
"oltp-set": {file: path.Join(s.benchmarkConfigPath, "oltp-set.yaml"), v: viper.New()},
"oltp-readonly": {file: path.Join(s.benchmarkConfigPath, "oltp-readonly.yaml"), v: viper.New()},
"oltp-readonly-olap": {file: path.Join(s.benchmarkConfigPath, "olap-readonly.yaml"), v: viper.New()},
"tpcc": {file: path.Join(s.benchmarkConfigPath, "tpcc.yaml"), v: viper.New()},
"micro": {file: path.Join(s.benchmarkConfigPath, "micro.yaml"), v: viper.New(), skip: true},
"oltp": {file: path.Join(s.benchmarkConfigPath, "oltp.yaml"), v: viper.New()},
"oltp-set": {file: path.Join(s.benchmarkConfigPath, "oltp-set.yaml"), v: viper.New()},
"oltp-readonly": {file: path.Join(s.benchmarkConfigPath, "oltp-readonly.yaml"), v: viper.New()},

// TODO: oltp-readonly-olap benchmarks are skipped for now as they fail very often due to
// MySQL connections being dropped. This issue will be investigated soon.
"oltp-readonly-olap": {file: path.Join(s.benchmarkConfigPath, "olap-readonly.yaml"), v: viper.New(), skip: true},

"tpcc": {file: path.Join(s.benchmarkConfigPath, "tpcc.yaml"), v: viper.New()},
}
for configName, config := range s.benchmarkConfig {
config.v.SetConfigFile(config.file)
Expand Down

0 comments on commit 3469573

Please sign in to comment.