@@ -203,9 +203,9 @@ TEST_F(DestMetadataCacheTest, AllowedNodesNoPrimary) {
203203
204204 fill_instance_vector ({
205205 {GR, " uuid1" , ServerMode::ReadWrite, ServerRole::Primary, " 3306" , 3306 ,
206- 33060 },
206+ 33060 , " label " },
207207 {GR, " uuid2" , ServerMode::ReadOnly, ServerRole::Secondary, " 3307" , 3307 ,
208- 33070 },
208+ 33070 , " label " },
209209 });
210210
211211 EXPECT_CALL (metadata_cache_api_, add_acceptor_handler_listener (_));
@@ -215,9 +215,9 @@ TEST_F(DestMetadataCacheTest, AllowedNodesNoPrimary) {
215215 // new metadata - no primary
216216 fill_instance_vector ({
217217 {GR, " uuid1" , ServerMode::ReadOnly, ServerRole::Secondary, " 3306" , 3306 ,
218- 33060 },
218+ 33060 , " label " },
219219 {GR, " uuid2" , ServerMode::ReadOnly, ServerRole::Secondary, " 3307" , 3307 ,
220- 33070 },
220+ 33070 , " label " },
221221 });
222222
223223 bool callback_called{false };
@@ -255,9 +255,9 @@ TEST_F(DestMetadataCacheTest, AllowedNodes2Primaries) {
255255
256256 InstanceVector instances{
257257 {GR, " uuid1" , ServerMode::ReadWrite, ServerRole::Primary, " 3306" , 3306 ,
258- 33060 },
258+ 33060 , " label " },
259259 {GR, " uuid2" , ServerMode::ReadOnly, ServerRole::Secondary, " 3307" , 3307 ,
260- 33070 },
260+ 33070 , " label " },
261261 };
262262
263263 fill_instance_vector (instances);
@@ -315,9 +315,9 @@ TEST_F(DestMetadataCacheTest, AllowedNodesNoSecondaries) {
315315
316316 InstanceVector instances{
317317 {GR, " uuid1" , ServerMode::ReadWrite, ServerRole::Primary, " 3306" , 3306 ,
318- 33060 },
318+ 33060 , " label " },
319319 {GR, " uuid2" , ServerMode::ReadOnly, ServerRole::Secondary, " 3307" , 3307 ,
320- 33070 },
320+ 33070 , " label " },
321321 };
322322
323323 fill_instance_vector (instances);
@@ -372,9 +372,9 @@ TEST_F(DestMetadataCacheTest, AllowedNodesSecondaryDisconnectToPromoted) {
372372
373373 InstanceVector instances{
374374 {GR, " uuid1" , ServerMode::ReadWrite, ServerRole::Primary, " 3306" , 3306 ,
375- 33060 },
375+ 33060 , " label " },
376376 {GR, " uuid2" , ServerMode::ReadOnly, ServerRole::Secondary, " 3307" , 3307 ,
377- 33070 },
377+ 33070 , " label " },
378378 };
379379
380380 fill_instance_vector (instances);
@@ -434,9 +434,9 @@ TEST_F(DestMetadataCacheTest, AllowedNodesSecondaryDisconnectToPromotedTwice) {
434434
435435 InstanceVector instances{
436436 {GR, " uuid1" , ServerMode::ReadWrite, ServerRole::Primary, " 3306" , 3306 ,
437- 33060 },
437+ 33060 , " label " },
438438 {GR, " uuid2" , ServerMode::ReadOnly, ServerRole::Secondary, " 3307" , 3307 ,
439- 33070 },
439+ 33070 , " label " },
440440 };
441441
442442 fill_instance_vector (instances);
@@ -488,9 +488,9 @@ TEST_F(DestMetadataCacheTest,
488488
489489 fill_instance_vector ({
490490 {GR, " uuid1" , ServerMode::ReadWrite, ServerRole::Primary, " 3306" , 3306 ,
491- 33060 },
491+ 33060 , " label " },
492492 {GR, " uuid2" , ServerMode::ReadOnly, ServerRole::Secondary, " 3307" , 3307 ,
493- 33070 },
493+ 33070 , " label " },
494494 });
495495
496496 EXPECT_CALL (metadata_cache_api_, add_acceptor_handler_listener (_));
@@ -542,9 +542,9 @@ TEST_F(DestMetadataCacheTest,
542542
543543 fill_instance_vector ({
544544 {GR, " uuid1" , ServerMode::ReadWrite, ServerRole::Primary, " 3306" , 3306 ,
545- 33060 },
545+ 33060 , " label " },
546546 {GR, " uuid2" , ServerMode::ReadOnly, ServerRole::Secondary, " 3307" , 3307 ,
547- 33070 },
547+ 33070 , " label " },
548548 });
549549
550550 EXPECT_CALL (metadata_cache_api_, add_acceptor_handler_listener (_));
0 commit comments