mirror of
https://github.com/eclipse-paho/paho.mqtt.cpp.git
synced 2025-09-15 12:58:39 +08:00
update TEST_EXTERNAL_SERVER urls
Signed-off-by: Laurenz Altenmüller <git@laure.nz>
This commit is contained in:
parent
dd32cb56f7
commit
32f75ac62f
@ -36,7 +36,8 @@ using namespace mqtt;
|
||||
// NOTE: This test case requires network access. It uses one of
|
||||
// the public available MQTT brokers
|
||||
#if defined(TEST_EXTERNAL_SERVER)
|
||||
static const std::string GOOD_SERVER_URI{"tcp://mqtt.eclipse.org:1883"};
|
||||
static const std::string GOOD_SERVER_URI{"tcp://mqtt.eclipseprojects.io:1883"};
|
||||
static const std::string GOOD_SSL_SERVER_URI{"ssl://mqtt.eclipseprojects.io:1885"};
|
||||
#else
|
||||
static const std::string GOOD_SERVER_URI{"tcp://localhost:1883"};
|
||||
static const std::string GOOD_SSL_SERVER_URI{"ssl://localhost:18885"};
|
||||
|
||||
@ -98,7 +98,7 @@ class async_client_v3_test : public CppUnit::TestFixture
|
||||
// NOTE: This test case requires network access. It uses one of
|
||||
// the public available MQTT brokers
|
||||
#if defined(TEST_EXTERNAL_SERVER)
|
||||
const std::string GOOD_SERVER_URI{"tcp://mqtt.eclipse.org:1883"};
|
||||
const std::string GOOD_SERVER_URI{"tcp://mqtt.eclipseprojects.io:1883"};
|
||||
#else
|
||||
const std::string GOOD_SERVER_URI{"tcp://localhost:1883"};
|
||||
const std::string GOOD_SSL_SERVER_URI{"ssl://localhost:18885"};
|
||||
|
||||
@ -40,7 +40,7 @@ using namespace mqtt;
|
||||
// NOTE: This test case requires network access. It uses one of
|
||||
// the public available MQTT brokers
|
||||
#if defined(TEST_EXTERNAL_SERVER)
|
||||
static const std::string GOOD_SERVER_URI{"tcp://mqtt.eclipse.org:1883"};
|
||||
static const std::string GOOD_SERVER_URI{"tcp://mqtt.eclipseprojects.io:1883"};
|
||||
#else
|
||||
static const std::string GOOD_SERVER_URI{"tcp://localhost:1883"};
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user