Skip to content

Commit 32f75ac

Browse files
laltenfpagliughi
authored andcommitted
update TEST_EXTERNAL_SERVER urls
Signed-off-by: Laurenz Altenmüller <[email protected]>
1 parent dd32cb5 commit 32f75ac

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

test/unit/test_async_client.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ using namespace mqtt;
3636
// NOTE: This test case requires network access. It uses one of
3737
// the public available MQTT brokers
3838
#if defined(TEST_EXTERNAL_SERVER)
39-
static const std::string GOOD_SERVER_URI{"tcp://mqtt.eclipse.org:1883"};
39+
static const std::string GOOD_SERVER_URI{"tcp://mqtt.eclipseprojects.io:1883"};
40+
static const std::string GOOD_SSL_SERVER_URI{"ssl://mqtt.eclipseprojects.io:1885"};
4041
#else
4142
static const std::string GOOD_SERVER_URI{"tcp://localhost:1883"};
4243
static const std::string GOOD_SSL_SERVER_URI{"ssl://localhost:18885"};

test/unit/test_async_client_v3.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class async_client_v3_test : public CppUnit::TestFixture
9898
// NOTE: This test case requires network access. It uses one of
9999
// the public available MQTT brokers
100100
#if defined(TEST_EXTERNAL_SERVER)
101-
const std::string GOOD_SERVER_URI{"tcp://mqtt.eclipse.org:1883"};
101+
const std::string GOOD_SERVER_URI{"tcp://mqtt.eclipseprojects.io:1883"};
102102
#else
103103
const std::string GOOD_SERVER_URI{"tcp://localhost:1883"};
104104
const std::string GOOD_SSL_SERVER_URI{"ssl://localhost:18885"};

test/unit/test_client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ using namespace mqtt;
4040
// NOTE: This test case requires network access. It uses one of
4141
// the public available MQTT brokers
4242
#if defined(TEST_EXTERNAL_SERVER)
43-
static const std::string GOOD_SERVER_URI{"tcp://mqtt.eclipse.org:1883"};
43+
static const std::string GOOD_SERVER_URI{"tcp://mqtt.eclipseprojects.io:1883"};
4444
#else
4545
static const std::string GOOD_SERVER_URI{"tcp://localhost:1883"};
4646
#endif

0 commit comments

Comments
 (0)