diff options
author | Zakhar Kleyman <zakhar.kleyman@mongodb.com> | 2020-10-09 14:03:16 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-05 08:14:04 +0000 |
commit | a92f7c91d5cca7eee12108de705291ef564894a8 (patch) | |
tree | ba180afd88fdcee13df969d50c6b3854d5c6792b | |
parent | 22a67c1ea171598276da7d7c7c03ff1813baa50b (diff) | |
download | mongo-a92f7c91d5cca7eee12108de705291ef564894a8.tar.gz |
SERVER-51465 update package tests for install_compass
(cherry picked from commit eb661616fa433abd7ef4bc3f07d15c3a8a1c8654)
(cherry picked from commit 89de6132e34f9e910dc5a5833dbcf8d3a932c5c2)
-rw-r--r-- | buildscripts/package_test/test/recipes/service/install_mongodb_spec.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/buildscripts/package_test/test/recipes/service/install_mongodb_spec.rb b/buildscripts/package_test/test/recipes/service/install_mongodb_spec.rb index dfd75e8a236..25900e95196 100644 --- a/buildscripts/package_test/test/recipes/service/install_mongodb_spec.rb +++ b/buildscripts/package_test/test/recipes/service/install_mongodb_spec.rb @@ -55,9 +55,11 @@ else end end -if os[:arch] == 'x86_64' and os[:name] != 'amazon' and +if os[:arch] == 'x86_64' and ((os[:name] == 'ubuntu' and os[:release].split('.')[0].to_i > 12) or - (os[:family] == 'redhat' and os[:release].split('.')[0].to_i >= 7)) + (os[:family] == 'redhat' and os[:release].split('.')[0].to_i >= 7) or + (os[:name] == 'debian' and os[:release].split('.')[0].to_i >= 10) or + os[:name] == 'amazon') describe command("install_compass") do its('exit_status') { should eq 0 } end |