We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e99cf7e commit 3601ea5Copy full SHA for 3601ea5
spec/mongo/socket/ssl_spec.rb
@@ -44,7 +44,7 @@
44
end
45
46
47
- context 'when a CA certificate is provided' do
+ context 'when a CA certificate is provided', if: running_ssl? && testing_locally? do
48
49
let(:options) do
50
{
spec/spec_helper.rb
@@ -146,6 +146,10 @@ def list_command_enabled?
146
$list_command_enabled ||= $mongo_client.cluster.servers.first.features.list_indexes_enabled?
147
148
149
+def testing_locally?
150
+ !(ENV['CI'] || ENV['JENKINS_HOME'])
151
+end
152
+
153
def running_ssl?
154
SSL
155
0 commit comments