Skip to content

Commit

Permalink
[PLAT-11178] Update sampling probability test fixture (#368)
Browse files Browse the repository at this point in the history
* test: 🧪 isolate flakey test scenario

* test: ✅ await sampling request before starting the span

* test: ✅ remove scenario isolation
  • Loading branch information
gingerbenw committed Nov 9, 2023
1 parent 4aed836 commit cc6fa68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/react-native/features/persistent-state.feature
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Scenario: Invalid sampling value is ignored on app launch
Scenario: Expired sampling value is ignored on app launch
Given I execute the command "set-expired-sampling-probability"
When I run "SpanTriggeredByCommandScenario"
And I wait to receive a sampling request
And I execute the command "start-span"
Then I wait to receive 1 trace

Expand Down

0 comments on commit cc6fa68

Please sign in to comment.