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:
authorJaime Martinez <jmartinez@gitlab.com>2021-05-17 10:11:51 +0300
committerJaime Martinez <jmartinez@gitlab.com>2021-05-17 10:11:51 +0300
commitca65440d31d56bfb123ef69309b6e27d83c4b0a7 (patch)
tree63ef04edc8bc457d0a36c3fab85308df1ae767e3 /test/acceptance/tls_test.go
parent19086c1fb27f3a36399dd45d049799c4f40ac244 (diff)
Update acceptance tests and skip disabled ones382-remove-support-for-disk-source-part-1
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