Skip to content

Commit 4eaf8c6

Browse files
committed
split ingress plus tests
1 parent ee8d414 commit 4eaf8c6

File tree

5 files changed

+16
-4
lines changed

5 files changed

+16
-4
lines changed

.github/data/matrix-smoke-plus.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,21 @@
2929
"platforms": "linux/arm64, linux/amd64"
3030
},
3131
{
32-
"label": "ingresses 1/2",
32+
"label": "ingresses 1/3",
3333
"image": "alpine-plus",
3434
"type": "plus",
35-
"marker": "'ingresses and not annotations and not basic_auth and not hsts and not watch_namespace and not wildcard_tls'",
35+
"marker": "'ingresses and not annotations and not basic_auth and not hsts and not watch_namespace and not wildcard_tls and not ingresses_smoke and not ingresses_jwt'",
3636
"platforms": "linux/arm64, linux/amd64"
3737
},
3838
{
39-
"label": "ingresses 2/2",
39+
"label": "ingresses 2/3",
40+
"image": "alpine-plus",
41+
"type": "plus",
42+
"marker": "'ingresses_smoke or ingresses_jwt'",
43+
"platforms": "linux/arm64, linux/amd64"
44+
},
45+
{
46+
"label": "ingresses 3/3",
4047
"image": "alpine-plus-fips",
4148
"type": "plus",
4249
"marker": "'annotations or basic_auth or hsts or watch_namespace or wildcard_tls'",
@@ -81,7 +88,7 @@
8188
"label": "policies 3/5",
8289
"image": "ubi-9-plus",
8390
"type": "plus",
84-
"marker": "'policies_jwt or or otel'",
91+
"marker": "'policies_jwt or otel'",
8592
"platforms": "linux/arm64, linux/amd64"
8693
},
8794
{

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ markers = [
4545
"dos_learning",
4646
"hsts",
4747
"ingresses",
48+
"ingresses_jwt",
49+
"ingresses_smoke",
4850
"multi_ns",
4951
"oidc",
5052
"otel",

tests/suite/test_jwt_auth_mergeable.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ def get_token_from_file(token_type) -> str:
195195

196196

197197
@pytest.mark.ingresses
198+
@pytest.mark.ingresses_jwt
198199
@pytest.mark.skip_for_nginx_oss
199200
class TestJWTAuthMergeableMinions:
200201
def test_jwt_auth_response_codes_and_location(self, kube_apis, jwt_auth_setup, test_namespace):

tests/suite/test_jwt_secrets.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def fin():
9393

9494

9595
@pytest.mark.ingresses
96+
@pytest.mark.ingresses_jwt
9697
@pytest.mark.skip_for_nginx_oss
9798
class TestJWTSecrets:
9899
def test_response_code_200_and_server_name(self, jwt_secrets_setup, jwt_secret):

tests/suite/test_smoke.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ def fin():
7373

7474
@pytest.mark.smoke
7575
@pytest.mark.ingresses
76+
@pytest.mark.ingresses_smoke
7677
class TestSmoke:
7778
@pytest.mark.parametrize(
7879
"ingress_controller",

0 commit comments

Comments
 (0)