summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorADAM David Alan Martin <adam.martin@10gen.com>2019-07-26 14:51:58 -0400
committerADAM David Alan Martin <adam.martin@10gen.com>2019-08-13 14:43:56 -0400
commitfdabcf84f044dd8eb06fefecd1d3683a94a0b56a (patch)
tree3101084aa08b1fd1bd52597e29bc9d1fbd27d0f0
parentee71321881cfa25c0eba4948a71a9a6f6e5076a8 (diff)
downloadmongo-fdabcf84f044dd8eb06fefecd1d3683a94a0b56a.tar.gz
SERVER-42178 Disable Split Horizon testing on SLES.
(cherry picked from commit cabb59afb1d6ea0ba68caedd8842776e002839e8)
-rw-r--r--jstests/ssl/repl_ssl_split_horizon.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/jstests/ssl/repl_ssl_split_horizon.js b/jstests/ssl/repl_ssl_split_horizon.js
index b0e487ecc7f..90c01124043 100644
--- a/jstests/ssl/repl_ssl_split_horizon.js
+++ b/jstests/ssl/repl_ssl_split_horizon.js
@@ -42,6 +42,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}`);
}