update TEST_EXTERNAL_SERVER urls

Signed-off-by: Laurenz Altenmüller <git@laure.nz>
This commit is contained in:
Laurenz Altenmüller 2025-04-05 14:41:11 +02:00 committed by fpagliughi
parent dd32cb56f7
commit 32f75ac62f
3 changed files with 4 additions and 3 deletions

View File

@ -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"};

View File

@ -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"};

View File

@ -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