Skip to content

SDK-3368: Feature flag problem details tests#2526

Merged
NSeydoux merged 1 commit intomainfrom
SDK-3368/feature-flag-problem-details-tests
Oct 14, 2024
Merged

SDK-3368: Feature flag problem details tests#2526
NSeydoux merged 1 commit intomainfrom
SDK-3368/feature-flag-problem-details-tests

Conversation

@NSeydoux
Copy link
Copy Markdown
Contributor

The end-to-end tests need to run against older supported versions of ESS, not all of which support problem details.

By default, only the response status and title are checked, which are provided by default against any HTTP response. Problem details and instance are only checked if the environment variable E2E_TEST_FEATURE_PROBLEM_DETAILS is set to true.

The end-to-end tests need to run against older supported versions of
ESS, not all of which support problem details.

By default, only the response status and title are checked, which are
provided by default against any HTTP response. Problem details and
instance are only checked if the environment variable E2E_TEST_FEATURE_PROBLEM_DETAILS
is set to true.
@NSeydoux NSeydoux requested a review from a team as a code owner October 14, 2024 11:51
@davidboweninrupt
Copy link
Copy Markdown

Don't you want this to be the other way round @NSeydoux ? If you demand that it's set to true where the feature exists you are going to need to carry this feature flag for ever more and callers will always have to set it.

ofc this is tempered by the opposing force that we should not break existing code when adding something.

@NSeydoux
Copy link
Copy Markdown
Contributor Author

Exactly, I went with the non-breaking approach. When we stop supporting versions that do not have the problem details feature, we can remove the check altogether.

@NSeydoux NSeydoux merged commit 759822f into main Oct 14, 2024
@NSeydoux NSeydoux deleted the SDK-3368/feature-flag-problem-details-tests branch October 14, 2024 12:52
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