Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "wip test pr perf" #463

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions config/prod/config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
exec-go-version: "1.21.3"

#web-cron-schedule: "@midnight"
#web-cron-schedule-pull-requests: "*/5 * * * *"
#web-cron-schedule-tags: "*/1 * * * *"

web-cron-schedule: "1 1 1 1 1"
web-cron-schedule-pull-requests: "*/1 * * * *"
web-cron-schedule-tags: "1 1 1 1 1"
web-cron-schedule: "@midnight"
web-cron-schedule-pull-requests: "*/5 * * * *"
web-cron-schedule-tags: "*/1 * * * *"

web-port: 8080
web-benchmark-config-path: ./config/benchmarks/
Expand Down
3 changes: 0 additions & 3 deletions go/server/cron_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,6 @@ func (s *Server) pullRequestsCronHandler() {
}

for _, prInfo := range prInfos {
if prInfo.Number != 14034 {
continue
}
ref := prInfo.SHA
previousGitRef := prInfo.Base
pullNb := prInfo.Number
Expand Down
18 changes: 9 additions & 9 deletions go/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,16 +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},
"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()},
"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
Loading