Skip to content

Commit

Permalink
Fix comScore test flakiness (#744)
Browse files Browse the repository at this point in the history
  • Loading branch information
waliid authored Jan 20, 2024
1 parent b327952 commit 1db9b9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ GEM
PLATFORMS
arm64-darwin-21
arm64-darwin-22
arm64-darwin-23
x86_64-darwin-21
x86_64-darwin-22

Expand Down
2 changes: 1 addition & 1 deletion Tests/AnalyticsTests/ComScore/ComScoreTrackerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ final class ComScoreTrackerTests: ComScoreTestCase {

expectAtLeastHits(
.play { labels in
expect(labels.ns_st_po).to(beCloseTo(100, within: 0.5))
expect(labels.ns_st_po).to(beCloseTo(100, within: 5))
}
) {
player.play()
Expand Down

0 comments on commit 1db9b9a

Please sign in to comment.