Skip to content

fix: move AAC fixtures out of cassettes directory#1517

Open
tychtjan wants to merge 2 commits intomasterfrom
fix/move-aac-fixtures-out-of-cassettes
Open

fix: move AAC fixtures out of cassettes directory#1517
tychtjan wants to merge 2 commits intomasterfrom
fix/move-aac-fixtures-out-of-cassettes

Conversation

@tychtjan
Copy link
Copy Markdown
Contributor

@tychtjan tychtjan commented Apr 8, 2026

Summary

  • Move tests/catalog/fixtures/aac/ to tests/catalog/aac_fixtures/ so make remove-cassettes no longer deletes static AAC test data
  • Update fixture path references in test_aac.py and test_gdc.py
  • Regenerate VCR cassettes

Problem

The remove-cassettes target in project_common.mk runs:

find $(CURDIR)/tests -type f -name "*.yaml" -path "*/fixtures/*" -print -delete

This deletes all YAML files under fixtures/, including the AAC test fixtures added in #1508. Those files are static test data (not VCR recordings), so they shouldn't be wiped.

JIRA: DX-326

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.18%. Comparing base (1d2454b) to head (7413f2c).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1517   +/-   ##
=======================================
  Coverage   78.18%   78.18%           
=======================================
  Files         228      228           
  Lines       14930    14930           
=======================================
  Hits        11673    11673           
  Misses       3257     3257           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tychtjan tychtjan force-pushed the fix/move-aac-fixtures-out-of-cassettes branch from e2306c2 to 54b3f1a Compare April 8, 2026 08:59
@tychtjan tychtjan force-pushed the fix/move-aac-fixtures-out-of-cassettes branch 5 times, most recently from 204a10a to 7d3e08d Compare April 8, 2026 13:24
tychtjan added 2 commits April 8, 2026 16:23
- Move tests/catalog/fixtures/aac/ to tests/catalog/unit_tests/aac_tests/
  so make remove-cassettes no longer deletes static AAC test data
- Add VCR normalizations for traceId, authenticationId/authId, bearerToken,
  cacheId, queryDurationMillis, and exportResult to eliminate transient diffs
- Replace counter-based hash placeholders with fixed EXECUTION_NORMALIZED
  and EXPORT_NORMALIZED to avoid counter drift between recording and playback
- Sort XML localization groups by id for deterministic XLIFF output
- Bump docker-compose: Quiver v0.398.0, Pulsar 4.1.3, Redis 8.6.1

JIRA: DX-326
risk: low
JIRA: DX-326
risk: low
@tychtjan tychtjan force-pushed the fix/move-aac-fixtures-out-of-cassettes branch from 7d3e08d to 9e0d663 Compare April 8, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants