Skip to content

Commit 54c9943

Browse files
authored
Fixed flush test (#57)
1 parent 36c356a commit 54c9943

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/Segment-Tests/Analytics_Tests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,8 @@ final class Analytics_Tests: XCTestCase {
304304
}
305305

306306
func testFlush() {
307-
let analytics = Analytics(configuration: Configuration(writeKey: "test"))
307+
// Use a specific writekey to this test so we do not collide with other cached items.
308+
let analytics = Analytics(configuration: Configuration(writeKey: "testFlush_do_not_reuse_this_writekey"))
308309

309310
waitUntilStarted(analytics: analytics)
310311

0 commit comments

Comments
 (0)