Skip to content

Commit ee8d414

Browse files
committed
Split Python policies tests
1 parent 2755d8e commit ee8d414

File tree

4 files changed

+31
-8
lines changed

4 files changed

+31
-8
lines changed

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

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,24 @@
3636
"platforms": "linux/arm64, linux/amd64"
3737
},
3838
{
39-
"label": "policies 1/2",
39+
"label": "policies 1/3",
4040
"image": "alpine",
4141
"type": "oss",
4242
"marker": "'policies and not policies_rl and not policies_ac and not policies_jwt and not policies_mtls and not policies_cache'",
4343
"platforms": "linux/arm64, linux/amd64"
4444
},
4545
{
46-
"label": "policies 2/2",
46+
"label": "policies 2/3",
4747
"image": "alpine",
4848
"type": "oss",
49-
"marker": "'policies_rl or policies_ac or policies_jwt or policies_mtls or policies_cache or otel'",
49+
"marker": "'policies_rl or policies_ac or policies_jwt'",
50+
"platforms": "linux/arm64, linux/amd64"
51+
},
52+
{
53+
"label": "policies 3/3",
54+
"image": "alpine",
55+
"type": "oss",
56+
"marker": "'policies_mtls or policies_cache or otel'",
5057
"platforms": "linux/arm64, linux/amd64"
5158
},
5259
{

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

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,24 +64,38 @@
6464
"platforms": "linux/arm64, linux/amd64"
6565
},
6666
{
67-
"label": "policies 1/3",
67+
"label": "policies 1/5",
6868
"image": "ubi-9-plus",
6969
"type": "plus",
7070
"marker": "'policies and not policies_ac and not policies_jwt and not policies_mtls and not policies_rl and not policies_cache'",
7171
"platforms": "linux/arm64, linux/amd64"
7272
},
7373
{
74-
"label": "policies 2/3",
74+
"label": "policies 2/5",
7575
"image": "ubi-9-plus",
7676
"type": "plus",
77-
"marker": "'policies_ac or policies_jwt or policies_mtls or otel'",
77+
"marker": "'policies_ac or policies_mtls'",
7878
"platforms": "linux/arm64, linux/amd64"
7979
},
8080
{
81-
"label": "policies 3/3",
81+
"label": "policies 3/5",
8282
"image": "ubi-9-plus",
8383
"type": "plus",
84-
"marker": "'policies_rl or policies_cache'",
84+
"marker": "'policies_jwt or or otel'",
85+
"platforms": "linux/arm64, linux/amd64"
86+
},
87+
{
88+
"label": "policies 4/5",
89+
"image": "ubi-9-plus",
90+
"type": "plus",
91+
"marker": "'policies_cache'",
92+
"platforms": "linux/arm64, linux/amd64"
93+
},
94+
{
95+
"label": "policies 5/5",
96+
"image": "ubi-9-plus",
97+
"type": "plus",
98+
"marker": "'policies_rl'",
8599
"platforms": "linux/arm64, linux/amd64"
86100
},
87101
{

tests/suite/test_jwt_policies_jwksuri.py

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

172172
@pytest.mark.skip_for_nginx_oss
173173
@pytest.mark.policies
174+
@pytest.mark.policies_jwt
174175
@pytest.mark.parametrize(
175176
"crd_ingress_controller, virtual_server_setup",
176177
[

tests/suite/test_policy_ingress_class.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919

2020
@pytest.mark.policies
21+
@pytest.mark.policies_rl
2122
@pytest.mark.parametrize(
2223
"crd_ingress_controller, virtual_server_setup",
2324
[

0 commit comments

Comments
 (0)