From cabb59afb1d6ea0ba68caedd8842776e002839e8 Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Fri, 26 Jul 2019 14:51:58 -0400 Subject: [PATCH] SERVER-42178 Disable Split Horizon testing on SLES. --- jstests/ssl/repl_ssl_split_horizon.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jstests/ssl/repl_ssl_split_horizon.js b/jstests/ssl/repl_ssl_split_horizon.js index d70980ebe88..dd831c97ed8 100644 --- a/jstests/ssl/repl_ssl_split_horizon.js +++ b/jstests/ssl/repl_ssl_split_horizon.js @@ -41,6 +41,12 @@ version is ${glibc_version}, skipping this test.`); return; } else { + var verCheck = runProgram("grep", "/etc/os-release", "\"SUSE Linux Enterprise Server\"") + if (verCheck == 0) { + jsTestLog(`HOSTALIASES does not seem to work as expected but we detected SLES. GLIBC + version is ${glibc_version}, skipping this test.`); + return; + } assert(false, `HOSTALIASES does not seem to work as expected on this system. GLIBC version is ${glibc_version}`); }