Files
mongo/jstests/core/testing/certs_are_generated.js
Gabriel Marks 77d90a66d3 SERVER-99750 Use generated certificates in jstests (#46650)
GitOrigin-RevId: 303ffa3be9ec56f70a9ff9e38d4430fd0c927599
2026-01-28 18:44:45 +00:00

17 lines
433 B
JavaScript

/**
* Tests that certificate generation is always complete when running resmoke tests.
* @tags: [
* # This test relies on the installation directory structure, and thus does not work properly on
* # SELinux.
* no_selinux,
* ]
*/
const certDir = getX509Path("");
jsTest.log.info(certDir);
jsTest.log.info(ls(certDir));
assert(fileExists(getX509Path("ca.pem")));
assert(fileExists(getX509Path("crl.pem.digest.sha1")));