From b72cc4e5d0f948268957e4c9e79faddd799b9806 Mon Sep 17 00:00:00 2001 From: Gyu-Ho Lee Date: Thu, 23 Feb 2017 08:43:56 -0800 Subject: [PATCH] *: update YAML tag --- config_dbtester.go | 11 +++++------ config_dbtester_test.yaml | 4 ++-- test-configs/01-write-1M-keys-client-variable.yaml | 4 ++-- test-configs/02-write-1M-keys-best-throughput.yaml | 4 ++-- test-configs/03-write-too-many-keys.yaml | 4 ++-- 5 files changed, 13 insertions(+), 14 deletions(-) diff --git a/config_dbtester.go b/config_dbtester.go index 6309c877..4ca6c16c 100644 --- a/config_dbtester.go +++ b/config_dbtester.go @@ -40,17 +40,16 @@ type Config struct { TestTitle string `yaml:"test_title"` TestDescription string `yaml:"test_description"` - dbtesterpb.ConfigClientMachineInitial `yaml:"config_client_machine_common"` + dbtesterpb.ConfigClientMachineInitial `yaml:"config_client_machine_initial"` AllDatabaseIDList []string `yaml:"all_database_id_list"` DatabaseIDToConfigClientMachineAgentControl map[string]dbtesterpb.ConfigClientMachineAgentControl `yaml:"datatbase_id_to_config_client_machine_agent_control"` - DatabaseIDToConfigAnalyzeMachineInitial map[string]dbtesterpb.ConfigAnalyzeMachineInitial `yaml:"datatbase_id_to_config_analyze_machine_common"` + DatabaseIDToConfigAnalyzeMachineInitial map[string]dbtesterpb.ConfigAnalyzeMachineInitial `yaml:"datatbase_id_to_config_analyze_machine_initial"` dbtesterpb.ConfigAnalyzeMachineAllAggregatedOutput `yaml:"analyze_all_aggregated_output"` - - AnalyzePlotPathPrefix string `yaml:"analyze_plot_path_prefix"` - AnalyzePlotList []dbtesterpb.ConfigAnalyzeMachinePlot `yaml:"analyze_plot_list"` - dbtesterpb.ConfigAnalyzeMachineREADME `yaml:"analyze_readme"` + AnalyzePlotPathPrefix string `yaml:"analyze_plot_path_prefix"` + AnalyzePlotList []dbtesterpb.ConfigAnalyzeMachinePlot `yaml:"analyze_plot_list"` + dbtesterpb.ConfigAnalyzeMachineREADME `yaml:"analyze_readme"` } // ReadConfig reads control configuration file. diff --git a/config_dbtester_test.yaml b/config_dbtester_test.yaml index 216c1e9d..ef1e0f33 100644 --- a/config_dbtester_test.yaml +++ b/config_dbtester_test.yaml @@ -12,7 +12,7 @@ test_description: | - Consul v0.7.5 (Go 1.8.0) # common control options for all client machines -config_client_machine_common: +config_client_machine_initial: # if not empty, all test data paths are prefixed path_prefix: /home/gyuho log_path: client-control.log @@ -164,7 +164,7 @@ datatbase_id_to_config_client_machine_agent_control: step4_upload_logs: true -datatbase_id_to_config_analyze_machine_common: +datatbase_id_to_config_analyze_machine_initial: etcd__tip: # if not empty, all test data paths are prefixed path_prefix: 2017Q1-01-etcd-zookeeper-consul/01-write-1M-keys-client-variable/etcd-tip-go1.8.0 diff --git a/test-configs/01-write-1M-keys-client-variable.yaml b/test-configs/01-write-1M-keys-client-variable.yaml index 96ee9d4b..9bf664ed 100644 --- a/test-configs/01-write-1M-keys-client-variable.yaml +++ b/test-configs/01-write-1M-keys-client-variable.yaml @@ -12,7 +12,7 @@ test_description: | - Consul v0.7.5 (Go 1.8.0) # common control options for all client machines -config_client_machine_common: +config_client_machine_initial: # if not empty, all test data paths are prefixed path_prefix: /home/gyuho log_path: client-control.log @@ -164,7 +164,7 @@ datatbase_id_to_config_client_machine_agent_control: step4_upload_logs: true -datatbase_id_to_config_analyze_machine_common: +datatbase_id_to_config_analyze_machine_initial: etcd__tip: # if not empty, all test data paths are prefixed path_prefix: 2017Q1-01-etcd-zookeeper-consul/01-write-1M-keys-client-variable/etcd-tip-go1.8.0 diff --git a/test-configs/02-write-1M-keys-best-throughput.yaml b/test-configs/02-write-1M-keys-best-throughput.yaml index b80e52aa..a8d1ca74 100644 --- a/test-configs/02-write-1M-keys-best-throughput.yaml +++ b/test-configs/02-write-1M-keys-best-throughput.yaml @@ -12,7 +12,7 @@ test_description: | - Consul v0.7.5 (Go 1.8.0) # common control options for all client machines -config_client_machine_common: +config_client_machine_initial: # if not empty, all test data paths are prefixed path_prefix: /home/gyuho log_path: client-control.log @@ -164,7 +164,7 @@ datatbase_id_to_config_client_machine_agent_control: step4_upload_logs: true -datatbase_id_to_config_analyze_machine_common: +datatbase_id_to_config_analyze_machine_initial: etcd__tip: # if not empty, all test data paths are prefixed path_prefix: 2017Q1-01-etcd-zookeeper-consul/02-write-1M-keys-best-throughput/etcd-tip-go1.8.0 diff --git a/test-configs/03-write-too-many-keys.yaml b/test-configs/03-write-too-many-keys.yaml index eae9cb8b..0d801d79 100644 --- a/test-configs/03-write-too-many-keys.yaml +++ b/test-configs/03-write-too-many-keys.yaml @@ -12,7 +12,7 @@ test_description: | - Consul v0.7.5 (Go 1.8.0) # common control options for all client machines -config_client_machine_common: +config_client_machine_initial: # if not empty, all test data paths are prefixed path_prefix: /home/gyuho log_path: client-control.log @@ -164,7 +164,7 @@ datatbase_id_to_config_client_machine_agent_control: step4_upload_logs: true -datatbase_id_to_config_analyze_machine_common: +datatbase_id_to_config_analyze_machine_initial: etcd__tip: # if not empty, all test data paths are prefixed path_prefix: 2017Q1-01-etcd-zookeeper-consul/03-write-too-many-keys/etcd-tip-go1.8.0