Skip to content

Commit

Permalink
Remove offending test
Browse files Browse the repository at this point in the history
  • Loading branch information
pinkisemils committed Nov 10, 2023
1 parent 7fc7726 commit 7704e46
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ios/PacketTunnelCoreTests/PacketTunnelActorTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,12 @@ final class PacketTunnelActorTests: XCTestCase {
await fulfillment(of: [disconnectedStateExpectation, didStopObserverExpectation], timeout: 1)
}

func testSetErrorStateGetsCancelledWhenStopping() async throws {
// FIXME: Reconsider if this test should exist. As it stands currently, it
// relies the packet tunnel process processing app message calls and a
// `stopTunnel()` call in a particular, deterministic order, which makes it
// unreliable. In reality, we cannot guarantee the order between those
// calls, and it fails almost reliably on low core count VMs.
func setErrorStateGetsCancelledWhenStopping() async throws {
let actor = PacketTunnelActor.mock()
let connectingStateExpectation = expectation(description: "Connecting state")
let disconnectedStateExpectation = expectation(description: "Disconnected state")
Expand Down

0 comments on commit 7704e46

Please sign in to comment.