Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/acceptance/tls_test.go')
-rw-r--r--test/acceptance/tls_test.go11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/acceptance/tls_test.go b/test/acceptance/tls_test.go
index 8e887a83..a24a255e 100644
--- a/test/acceptance/tls_test.go
+++ b/test/acceptance/tls_test.go
@@ -8,7 +8,8 @@ import (
)
func TestAcceptsSupportedCiphers(t *testing.T) {
- skipUnlessEnabled(t)
+ skipUnlessEnabled(t, diskSourceTest)
+
teardown := RunPagesProcess(t, *pagesBinary, supportedListeners(), "")
defer teardown()
@@ -45,7 +46,8 @@ func tlsConfigWithInsecureCiphersOnly() *tls.Config {
}
func TestRejectsUnsupportedCiphers(t *testing.T) {
- skipUnlessEnabled(t)
+ skipUnlessEnabled(t, diskSourceTest)
+
teardown := RunPagesProcess(t, *pagesBinary, supportedListeners(), "")
defer teardown()
@@ -63,7 +65,8 @@ func TestRejectsUnsupportedCiphers(t *testing.T) {
}
func TestEnableInsecureCiphers(t *testing.T) {
- skipUnlessEnabled(t)
+ skipUnlessEnabled(t, diskSourceTest)
+
teardown := RunPagesProcess(t, *pagesBinary, supportedListeners(), "", "-insecure-ciphers")
defer teardown()
@@ -80,7 +83,7 @@ func TestEnableInsecureCiphers(t *testing.T) {
}
func TestTLSVersions(t *testing.T) {
- skipUnlessEnabled(t)
+ skipUnlessEnabled(t, diskSourceTest)
tests := map[string]struct {
tlsMin string