Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a callback to handle dynamic getHttpHeader calls in testing #595

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

gpickin
Copy link
Contributor

@gpickin gpickin commented Dec 10, 2024

Here is a POC to fix tests which fail due to headers not being dynamic.
This should solve the cbotel errors because it expects headers, or default values to work.

This has been painful for a while, especially in more dynamic testing flows.

I'll let you decide if its worth while or not to make a ticket etc.

Copy link

github-actions bot commented Dec 10, 2024

Test Results

   19 files   -    16    427 suites   - 348   4m 26s ⏱️ - 2m 45s
1 167 tests ±    0  1 151 ✅  -    16    0 💤 ±0  0 ❌ ±0  16 🔥 +16 
2 754 runs   - 3 096  2 511 ✅  - 3 160  179 💤 ±0  0 ❌ ±0  64 🔥 +64 

For more details on these errors, see this check.

Results for commit ccee9bd. ± Comparison against base commit 68f723a.

♻️ This comment has been updated with latest results.

@lmajano
Copy link
Member

lmajano commented Dec 10, 2024

This looks like a good addition, can you create a ticket, and a test for it, please

@lmajano
Copy link
Member

lmajano commented Dec 20, 2024

I still don't have a ticket or a test @gpickin

@lmajano lmajano merged commit 47a1cd0 into development Jan 20, 2025
6 of 17 checks passed
@lmajano lmajano deleted the mockGetHttpHeader-GP branch January 20, 2025 10:02
lmajano added a commit that referenced this pull request Jan 20, 2025
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