Skip to content

Commit f27ac96

Browse files
committed
feat: improve contextEnrichment to handle special cases.
relates: open-feature/java-sdk-contrib#1230 Signed-off-by: Simon Schrottner <[email protected]>
1 parent 30f7c8b commit f27ac96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gherkin/contextEnrichment.feature

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Feature: Context Enrichment
33

44
Background:
5-
And a stable flagd provider
5+
Given a stable flagd provider
66

77
@in-process @rpc
88
Scenario: Use enriched context
@@ -45,5 +45,6 @@ Feature: Context Enrichment
4545
And a change event was fired
4646
And the flag was evaluated with details
4747
Then the reason should be "TARGETING_MATCH"
48+
# ensure that we do not cache a "TARGETING_MATCH", we should only cache evaluation with a "STATIC" reason
4849
When the flag was evaluated with details
4950
Then the reason should be "TARGETING_MATCH"

0 commit comments

Comments
 (0)