shareup / phoenix-apple

Phoenix channels client used in our https://new.space/app iOS app
3 stars 0 forks source link

SocketTests.testChannelsAreTracked fails #8

Closed atdrendel closed 4 years ago

atdrendel commented 4 years ago
Test Case '-[PhoenixTests.SocketTests testChannelsAreTracked]' started.
socket sending OutgoingMessage(joinRef: Optional(Phoenix.Ref(rawValue: 29)), ref: Phoenix.Ref(rawValue: 29), topic: "room:lobby", event: Phoenix.PhxEvent.join, payload: [:], sentAt: Dispatch.DispatchTime(rawValue: 548933227875199))
socket sending data 34 bytes
socket sending OutgoingMessage(joinRef: Optional(Phoenix.Ref(rawValue: 30)), ref: Phoenix.Ref(rawValue: 30), topic: "room:lobby2", event: Phoenix.PhxEvent.join, payload: [:], sentAt: Dispatch.DispatchTime(rawValue: 548933228032951))
There was an error writing to the socket: notOpen
There was a problem writing to the socket: notOpen
socket sending data 35 bytes
There was an error writing to the socket: notOpen
There was a problem writing to the socket: notOpen
/Users/atdrendel/shareup/phoenix-apple/Tests/PhoenixTests/SocketTests.swift:278: error: -[PhoenixTests.SocketTests testChannelsAreTracked] : XCTAssertEqual failed: ("1") is not equal to ("2")
Test Case '-[PhoenixTests.SocketTests testChannelsAreTracked]' failed (0.001 seconds).
atdrendel commented 4 years ago

This test hasn't failed for me in a week or so. I think it's fixed.