From 150f3fbed5682d8af7e88beacd6295e2d3df5a19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20M=C3=BCller?= Date: Sat, 19 Aug 2023 00:57:45 +0200 Subject: [PATCH] improve testing of golang containers test the race detector and validate that -openssl containers are function as well. fips tests will come later. --- bci_tester/data.py | 3 +++ pyproject.toml | 2 ++ tests/test_go.py | 4 ++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/bci_tester/data.py b/bci_tester/data.py index f9b3e4f6..5b5d9b0b 100755 --- a/bci_tester/data.py +++ b/bci_tester/data.py @@ -313,7 +313,10 @@ def create_BCI( ) for golang_version, stability in ( ("1.20", "oldstable"), + ("1.20-openssl", "oldstable"), ("1.21", "stable"), + # does not exist yet (as of 2023/08/15) + # ("1.21-openssl", "stable"), ) ] diff --git a/pyproject.toml b/pyproject.toml index e54a025d..b12b7775 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,9 @@ markers = [ 'helm_latest', 'nginx_latest', 'golang_1.20', + 'golang_1.20-openssl', 'golang_1.21', + 'golang_1.21-openssl', 'golang_oldstable', 'golang_stable', 'nodejs_16', diff --git a/tests/test_go.py b/tests/test_go.py index 78154daa..6bbc0103 100644 --- a/tests/test_go.py +++ b/tests/test_go.py @@ -42,8 +42,8 @@ def test_go_version(auto_container): [ GitRepositoryBuild( repository_url="https://github.com/weaveworks/kured.git", - repository_tag="1.9.2", - build_command="make cmd/kured/kured", + repository_tag="1.13.2", + build_command="make bootstrap-tools kured && go test -race ./...", ).to_pytest_param(), ], indirect=["container_git_clone"],