From 1d76c0d809360ce638ddf601836ce860f543fce0 Mon Sep 17 00:00:00 2001 From: Artem Glazychev Date: Wed, 14 Dec 2022 14:33:57 +0700 Subject: [PATCH] Add ipsec tests Signed-off-by: Artem Glazychev --- .github/workflows/ci.yaml | 2 +- tests_single/ipsec_test.go | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 tests_single/ipsec_test.go diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bc9011bc9..33dff1bb3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -69,7 +69,7 @@ jobs: echo CLUSTER_CIDR="172.18.1.128/25" >> $GITHUB_ENV - name: Integration tests run: | - go test -count 1 -timeout 2h10m -race -v ./tests_single + go test -count 1 -timeout 2h30m -race -v ./tests_single env: ARTIFACTS_DIR: ${{ matrix.image }}-logs/${{ matrix.image }} working-directory: ${{ github.workspace }}/src/github.com/${{ github.repository }} diff --git a/tests_single/ipsec_test.go b/tests_single/ipsec_test.go new file mode 100644 index 000000000..84ace6893 --- /dev/null +++ b/tests_single/ipsec_test.go @@ -0,0 +1,29 @@ +// Copyright (c) 2022 Cisco and/or its affiliates. +// +// SPDX-License-Identifier: Apache-2.0 +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at: +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package single + +import ( + "testing" + + "github.com/stretchr/testify/suite" + + "github.com/networkservicemesh/integration-tests/suites/ipsec_mechanism" +) + +func TestRunIpsecSuite(t *testing.T) { + suite.Run(t, new(ipsec_mechanism.Suite)) +}