Skip to content

Commit

Permalink
Fix testMQTTPublishToClientLargePayload
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Jun 12, 2021
1 parent 8759f96 commit 0392b99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/MQTTNIOTests/MQTTNIOTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,9 @@ final class MQTTNIOTests: XCTestCase {
let payloadData = Data(count: payloadSize)
let payload = ByteBufferAllocator().buffer(data: payloadData)

let client = self.createWebSocketClient(identifier: "testMQTTPublishToClientLargePayload_publisher")
let client = self.createClient(identifier: "testMQTTPublishToClientLargePayload_publisher")
_ = try client.connect().wait()
let client2 = self.createWebSocketClient(identifier: "testMQTTPublishToClientLargePayload_subscriber")
let client2 = self.createClient(identifier: "testMQTTPublishToClientLargePayload_subscriber")
client2.addPublishListener(named: "test") { result in
switch result {
case .success(let publish):
Expand Down

0 comments on commit 0392b99

Please sign in to comment.