Skip to content

Conversation

@ChrisJBurns
Copy link
Collaborator

@ChrisJBurns ChrisJBurns commented Nov 19, 2025

The e2e test suite for chainsaw/operator currently takes too long to complete. This PR speeds up the single-tenancy tests by running them in parallel (initially set to 10). It does so by introducing Chainsaw bindings and templating to parameterize resources, ensuring each test run uses uniquely named objects to avoid conflicts.

Note, if you see things like (join('-', ['mcp', $testPrefix, 'proxy-lb'])), this is jmespath and how Chainsaw templates things, its not great to look at, but it works and is relatively intuitive to understand.

Signed-off-by: Chris Burns <29541485+ChrisJBurns@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Nov 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.21%. Comparing base (c4a0c65) to head (c883728).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2654   +/-   ##
=======================================
  Coverage   55.20%   55.21%           
=======================================
  Files         315      315           
  Lines       30123    30123           
=======================================
+ Hits        16630    16632    +2     
+ Misses      12049    12047    -2     
  Partials     1444     1444           

☔ 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.

Signed-off-by: Chris Burns <29541485+ChrisJBurns@users.noreply.github.com>
Signed-off-by: Chris Burns <29541485+ChrisJBurns@users.noreply.github.com>
@ChrisJBurns ChrisJBurns changed the title DRAFT: tries to speed up tests improves chainsaw single-tenancy test times by running in parallel Nov 19, 2025
@ChrisJBurns ChrisJBurns merged commit d783c01 into main Nov 19, 2025
29 checks passed
@ChrisJBurns ChrisJBurns deleted the speeds-e2e-tests-operator branch November 19, 2025 11:38
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.

3 participants