Browse Source

Merge pull request #1338 from alvin1221/public_broker_test

Thank you, this is indeed a bug.
release/3.x.x
HansM 2 years ago
committed by GitHub
parent
commit
0730f21d29
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Tests/MQTTnet.TestApp.NetCore/PublicBrokerTest.cs

+ 2
- 2
Tests/MQTTnet.TestApp.NetCore/PublicBrokerTest.cs View File

@@ -94,12 +94,12 @@ namespace MQTTnet.TestApp.NetCore
.WithProtocolVersion(MqttProtocolVersion.V311).Build());

await ExecuteTestAsync("broker.emqx.io TCP TLS12",
new MqttClientOptionsBuilder().WithTcpServer("broker.emqx.io", 8083)
new MqttClientOptionsBuilder().WithTcpServer("broker.emqx.io", 8883)
.WithProtocolVersion(MqttProtocolVersion.V311).WithTls(unsafeTls12).Build());

#if NET5_0_OR_GREATER
await ExecuteTestAsync("broker.emqx.io TCP TLS13",
new MqttClientOptionsBuilder().WithTcpServer("broker.emqx.io", 8083)
new MqttClientOptionsBuilder().WithTcpServer("broker.emqx.io", 8883)
.WithProtocolVersion(MqttProtocolVersion.V311).WithTls(unsafeTls13).Build());
#endif



Loading…
Cancel
Save