File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -151,13 +151,9 @@ def test_bind_tls_with_bogus_hostname_system_ca_fails
151
151
)
152
152
end
153
153
154
- # The following depend on /etc/hosts hacking.
155
- # We can do that on CI, but it's less than cool on people's dev boxes
156
154
def test_bind_tls_with_multiple_hosts
157
- omit_unless ENV [ 'TRAVIS' ] == 'true'
158
-
159
155
@ldap . host = nil
160
- @ldap . hosts = [ [ 'ldap01.example.com' , 389 ] , [ 'ldap02.example.com' , 389 ] ]
156
+ @ldap . hosts = [ [ INTEGRATION_HOSTNAME , 389 ] , [ INTEGRATION_HOSTNAME , 389 ] ]
161
157
@ldap . encryption (
162
158
method : :start_tls ,
163
159
tls_options : TLS_OPTS . merge ( verify_mode : OpenSSL ::SSL ::VERIFY_PEER ,
@@ -168,8 +164,6 @@ def test_bind_tls_with_multiple_hosts
168
164
end
169
165
170
166
def test_bind_tls_with_multiple_bogus_hosts
171
- omit_unless ENV [ 'TRAVIS' ] == 'true'
172
-
173
167
@ldap . host = nil
174
168
@ldap . hosts = [ [ '127.0.0.1' , 389 ] , [ 'bogus.example.com' , 389 ] ]
175
169
@ldap . encryption (
@@ -186,8 +180,6 @@ def test_bind_tls_with_multiple_bogus_hosts
186
180
end
187
181
188
182
def test_bind_tls_with_multiple_bogus_hosts_no_verification
189
- omit_unless ENV [ 'TRAVIS' ] == 'true'
190
-
191
183
@ldap . host = nil
192
184
@ldap . hosts = [ [ '127.0.0.1' , 389 ] , [ 'bogus.example.com' , 389 ] ]
193
185
@ldap . encryption (
You can’t perform that action at this time.
0 commit comments