Skip to content

Commit 0fea1d7

Browse files
committed
attempt to fix test
1 parent 29fa92a commit 0fea1d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Segment-Tests/StressTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ class StressTests: XCTestCase {
3333
})
3434
.httpSession(RestrictedHTTPSession())
3535
)
36-
37-
analytics.purgeStorage()
3836
analytics.storage.hardReset(doYouKnowHowToUseThis: true)
3937

4038
DirectoryStore.fileValidator = { url in
@@ -211,6 +209,8 @@ class StressTests: XCTestCase {
211209
while (ready) {
212210
RunLoop.main.run(until: Date.distantPast)
213211
}
212+
213+
analytics.purgeStorage()
214214
}
215215

216216
func testMemoryStorageStress() throws {

0 commit comments

Comments
 (0)