Skip to content

Commit

Permalink
RUMM-3450 update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshnj committed Aug 11, 2023
1 parent 241e9cc commit ae924e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DatadogCore/Tests/Datadog/RUM/RUMMonitorTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1254,8 +1254,8 @@ class RUMMonitorTests: XCTestCase {

func testRUMEvents_containSessionSampleRate() throws {
// Given
// Set a high sample rate to be sure that the session will be sampled in this test.
// we want to test the session sample rate is sent in the RUM event, not the session sampling itself.
// We can't use arbitrary value here, because this will sample out some events and we won't be able to assert
// Hence, we use 100% sample rate to be sure that all events will be sent
config.sessionSampleRate = 100
RUM.enable(with: config, in: core)

Expand Down

0 comments on commit ae924e9

Please sign in to comment.