Skip to content

Commit

Permalink
change test_runs to test-runs
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Oviedo <[email protected]>
  • Loading branch information
OVI3D0 committed Jan 30, 2025
1 parent 54f3251 commit ea7c0dc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions osbenchmark/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def add_workload_source(subparser):
metavar="configuration",
help="The configuration for which OSB should show the available options. "
"Possible values are: telemetry, workloads, pipelines, test_runs, provision_config_instances, opensearch-plugins",
choices=["telemetry", "workloads", "pipelines", "test_runs", "aggregated_results",
choices=["telemetry", "workloads", "pipelines", "test-runs", "aggregated_results",
"provision_config_instances", "opensearch-plugins"])
list_parser.add_argument(
"--limit",
Expand Down Expand Up @@ -696,7 +696,7 @@ def dispatch_list(cfg):
workload.list_workloads(cfg)
elif what == "pipelines":
test_run_orchestrator.list_pipelines()
elif what == "test_runs":
elif what == "test-runs":
metrics.list_test_runs(cfg)
elif what == "aggregated_results":
metrics.list_aggregated_results(cfg)
Expand Down
2 changes: 1 addition & 1 deletion osbenchmark/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -1316,7 +1316,7 @@ def format_dict(d):
console.println(f"No recent {title} found.")

def list_test_runs(cfg):
list_test_helper(test_run_store(cfg).list(), "test_runs")
list_test_helper(test_run_store(cfg).list(), "test-runs")

def list_aggregated_results(cfg):
list_test_helper(test_run_store(cfg).list_aggregations(), "aggregated_results")
Expand Down
2 changes: 1 addition & 1 deletion osbenchmark/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def benchmark_root():


def test_excecutions_root(cfg):
return os.path.join(cfg.opts("node", "root.dir"), "test_runs")
return os.path.join(cfg.opts("node", "root.dir"), "test-runs")


def test_run_root(cfg, test_run_id=None):
Expand Down

0 comments on commit ea7c0dc

Please sign in to comment.