aboutsummaryrefslogtreecommitdiffstats
path: root/test/security
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2019-08-06 15:49:34 +0200
committerPawel Wieczorek <p.wieczorek2@samsung.com>2019-08-07 13:54:39 +0200
commitb18d03d74734d0953698368b8da4a9ef90b9f113 (patch)
tree3dbaa54eb88f6cf31a080c3195e5bfb205e56c00 /test/security
parent6cec5272c3887bf998c56c5243f7ee6ee964e3fb (diff)
k8s: Unify order of API server test cases
So far CIS-compliant configuration has been validated first unless configuration used in ONAP release did not pass given benchmark. Issue-ID: SECCOM-235 Change-Id: Ibdb523ab7ab6b8285757719721f75aca57beeb82 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'test/security')
-rw-r--r--test/security/k8s/src/check/validators/master/api_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/security/k8s/src/check/validators/master/api_test.go b/test/security/k8s/src/check/validators/master/api_test.go
index 95b68daca..ed93a5d13 100644
--- a/test/security/k8s/src/check/validators/master/api_test.go
+++ b/test/security/k8s/src/check/validators/master/api_test.go
@@ -123,8 +123,8 @@ var _ = Describe("Api", func() {
Expect(IsSecurePortAbsentOrValid(params)).To(Equal(expected))
},
Entry("Is explicitly disabled on insecure cluster", []string{"--secure-port=0"}, false),
- Entry("Should be absent or set to valid port on Casablanca cluster", kubeApiServerCasablanca, true),
Entry("Should be absent or set to valid port on CIS-compliant cluster", kubeApiServerCISCompliant, true),
+ Entry("Should be absent or set to valid port on Casablanca cluster", kubeApiServerCasablanca, true),
)
DescribeTable("Profiling",