From c4423637f89de86244345a36f092b7ccd99a42ad Mon Sep 17 00:00:00 2001 From: "Liu,Bijun" Date: Mon, 13 Jan 2020 14:52:07 +0800 Subject: [PATCH] delete flink-security.bats --- tests/flink/flink-security.bats | 53 --------------------------------- 1 file changed, 53 deletions(-) delete mode 100755 tests/flink/flink-security.bats diff --git a/tests/flink/flink-security.bats b/tests/flink/flink-security.bats deleted file mode 100755 index 75504c7..0000000 --- a/tests/flink/flink-security.bats +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/env bats -# Copyright (C) 2018 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -load ../utils -load ../security - -@test "SDL T1191 test" { - # start container first - docker run --name flink-server --detach clearlinux/flink jobmanager - run check_container_status flink-server - [ "$status" -eq 0 ] - run Test_SDL_T1191 clearlinux/flink - [ "$output" == "pass" ] - - # stop the container - docker rm -f flink-server - sleep 3 - run check_container_status flink-server - [ "$status" -eq 1 ] -} - -@test "SDL T1195 test" { - # start container first - docker run --name flink-server --detach clearlinux/flink jobmanager - run check_container_status flink-server - [ "$status" -eq 0 ] - run Test_SDL_T1195 clearlinux/flink - [ "$output" == "pass" ] - - # stop the container - docker rm -f flink-server - sleep 3 - run check_container_status flink-server - [ "$status" -eq 1 ] -} - -@test "SDL T1215 test" { - # start container first - docker run --name flink-server --detach --security-opt=no-new-privileges clearlinux/flink jobmanager - run check_container_status flink-server - [ "$status" -eq 0 ] - run Test_SDL_T1215 clearlinux/flink - [ "$output" == "pass" ] - - # stop the container - docker rm -f flink-server - sleep 3 - run check_container_status flink-server - [ "$status" -eq 1 ] -} - -