Skip to content

Commit c5a49b3

Browse files
committed
[core] library: postprocess: finish the transition to __caliper_test_metadata__.yaml
1 parent e7d45f2 commit c5a49b3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

projects/core/library/postprocess.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import yaml
1717
from pydantic import ValidationError
1818

19+
from projects.caliper.engine.constants import LEGACY_METADATA_FILE, METADATA_FILE
1920
from projects.caliper.engine.kpi.dataclasses import CaliperTestMetadata
2021
from projects.caliper.orchestration.postprocess import (
2122
run_postprocess_from_orchestration_config,
@@ -86,8 +87,8 @@ def write_test_labels(
8687
payload = metadata.to_dict()
8788

8889
# Define both file paths
89-
metadata_path = directory / "__caliper_test_metadata__.yaml"
90-
legacy_path = directory / "__test_labels__.yaml"
90+
metadata_path = directory / METADATA_FILE
91+
legacy_path = directory / LEGACY_METADATA_FILE
9192

9293
# Create directory and write to both files for backward compatibility
9394
metadata_path.parent.mkdir(parents=True, exist_ok=True)

0 commit comments

Comments
 (0)