Skip to content

Commit 402afd8

Browse files
jspaletamajormoses
authored andcommitted
Update test/check-ssl-hsts-preloadable_spec.rb from feature/pure_ruby_ssl
1 parent bb7c7b3 commit 402afd8

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

test/check-ssl-hsts-preloadable_spec.rb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,14 @@
1818
expect(check).to receive(:ok).and_raise SystemExit
1919
expect { check.run }.to raise_error SystemExit
2020
end
21-
21+
22+
##
23+
# Disabled 2020/06/24 JDS
24+
# Reason: the hsts-preloadable check depends on a domain lookup from https://hstspreload.org/
25+
# There's no way to assure that an indexed domain at hstspreload.org will have a warning
26+
# The previously tested domain 'oskuro.net' no longer issues a warning
27+
# as its now incompliance with the hsts preload requirements.
28+
##
2229
# it 'should pass check if the domain is preloadedable but has warnings' do
2330
# check.config[:domain] = 'oskuro.net'
2431
# expect(check).to receive(:warning).and_raise SystemExit

0 commit comments

Comments
 (0)