From fc955c1917777625122cf7ec9632df21b183ac79 Mon Sep 17 00:00:00 2001 From: Dave Berenbaum Date: Wed, 23 Aug 2023 09:19:51 -0400 Subject: [PATCH] Rename partial add/remove benchmarks (#9868) * Rename partial add/remove benchmarks * Update dvc/testing/benchmarks/cli/stories/test_modify_data.py --- dvc/testing/benchmarks/cli/stories/test_modify_data.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dvc/testing/benchmarks/cli/stories/test_modify_data.py b/dvc/testing/benchmarks/cli/stories/test_modify_data.py index 53fe96ae0..7c0776101 100644 --- a/dvc/testing/benchmarks/cli/stories/test_modify_data.py +++ b/dvc/testing/benchmarks/cli/stories/test_modify_data.py @@ -29,8 +29,8 @@ def test_partial_add(bench_dvc, tmp_dir, dvc, dataset, remote): shutil.copytree("partial-copy", dataset, dirs_exist_ok=True) # Benchmark operations for adding files to a dataset - bench_dvc("add", dataset, name="partial-add") - bench_dvc("push", name="partial-add") + bench_dvc("add", dataset, name="partial") + bench_dvc("push", name="partial") bench_dvc("gc", "-f", "-w", name="noop") bench_dvc("gc", "-f", "-w", "-c", name="cloud-noop") @@ -51,7 +51,7 @@ def test_partial_remove(bench_dvc, tmp_dir, dvc, dataset, remote): shutil.rmtree(dataset / f) # Benchmark operations for removing files from dataset - bench_dvc("add", dataset) - bench_dvc("push") + bench_dvc("add", dataset, name="update") + bench_dvc("push", name="update") bench_dvc("gc", "-f", "-w") bench_dvc("gc", "-f", "-w", "-c", name="cloud")