Skip to content

Commit 44e06f5

Browse files
committed
Disable NdbGetInAddr test in CI
It needs ipv6, and it appears to need public-internet DNS resolution, which is a tacky thing to do in a unit test.
1 parent 70c37a2 commit 44e06f5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

storage/ndb/src/common/portlib/NdbTCP.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,11 @@ can_resolve_hostname(const char* name)
498498

499499
TAPTEST(NdbGetInAddr)
500500
{
501+
if (getenv("DISABLE_IPV6_TESTS")) {
502+
// fails when ipv6 is present but disabled
503+
GTEST_SKIP();
504+
}
505+
501506
socket_library_init();
502507

503508
if (can_resolve_hostname("localhost"))

0 commit comments

Comments
 (0)