Skip to content

Commit

Permalink
Fix the test (it was broken)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaac-weisberg committed Feb 25, 2025
1 parent ac1b516 commit 0d77b79
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Tests/RxSwiftTests/Anomalies.swift
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ extension AnomaliesTest {
observer.on(.next(()))
return Disposables.create()
}
.share(replay: 1)

let triggerRange = 0..<100

Expand All @@ -194,16 +195,14 @@ extension AnomaliesTest {
.observe(on: concurrentScheduler)
.flatMap { _ in
sharedSource
.take(1)
}
.take(1)
})
.take(1)

_ = multipleSubscriptions.subscribe(onCompleted: {
exp.fulfill()
})


wait(for: [exp], timeout: 5)
wait(for: [exp], timeout: 1)
}
}

0 comments on commit 0d77b79

Please sign in to comment.