Skip to content

Commit 715141e

Browse files
author
Jim Ryan
authored
Move some python tests from vs1 to vs2 (#5888)
more tests from vs1 to vs2
1 parent 77cc604 commit 715141e

8 files changed

+13
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@
5353
"label": "VS 1/3",
5454
"image": "debian",
5555
"type": "oss",
56-
"marker": "'vs and not vs_ipv6 and not vs_rewrite and not vs_responses and not vs_grpc and not vs_redirects and not vs_externalname and not vs_externaldns and not vs_certmanager'",
56+
"marker": "'vs and not vs_ipv6 and not vs_rewrite and not vs_responses and not vs_grpc and not vs_redirects and not vs_externalname and not vs_externaldns and not vs_certmanager and not vs_api and not vs_backup and not vs_use_cluster_ip and not vs_canary and not vs_upstream and not vs_config_map'",
5757
"platforms": "linux/arm, linux/arm64, linux/amd64, linux/ppc64le, linux/s390x"
5858
},
5959
{
6060
"label": "VS 2/3",
6161
"image": "debian",
6262
"type": "oss",
63-
"marker": "'vs_grpc or vs_redirects or vs_externalname or vs_externaldns'",
63+
"marker": "'vs_grpc or vs_redirects or vs_externalname or vs_externaldns or vs_api or vs_backup or vs_use_cluster_ip or vs_canary or vs_upstream or vs_config_map'",
6464
"platforms": "linux/arm, linux/arm64, linux/amd64, linux/ppc64le, linux/s390x"
6565
},
6666
{

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"label": "VS 1/3",
55
"image": "debian-plus",
66
"type": "plus",
7-
"marker": "'vs and not vs_ipv6 and not vs_rewrite and not vs_responses and not vs_grpc and not vs_redirects and not vs_externalname and not vs_externaldns and not vs_certmanager'",
7+
"marker": "'vs and not vs_ipv6 and not vs_rewrite and not vs_responses and not vs_grpc and not vs_redirects and not vs_externalname and not vs_externaldns and not vs_certmanager and not vs_api and not vs_backup and not vs_use_cluster_ip and not vs_canary and not vs_upstream and not vs_config_map'",
88
"platforms": "linux/arm64, linux/amd64"
99
},
1010
{
1111
"label": "VS 2/3",
1212
"image": "debian-plus",
1313
"type": "plus",
14-
"marker": "'vs_grpc or vs_redirects or vs_externalname or vs_externaldns'",
14+
"marker": "'vs_grpc or vs_redirects or vs_externalname or vs_externaldns or vs_api or vs_backup or vs_use_cluster_ip or vs_canary or vs_upstream or vs_config_map'",
1515
"platforms": "linux/arm64, linux/amd64"
1616
},
1717
{

tests/suite/test_virtual_server_api.py

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

99

1010
@pytest.mark.vs
11+
@pytest.mark.vs_api
1112
@pytest.mark.skip_for_nginx_oss
1213
@pytest.mark.parametrize(
1314
"crd_ingress_controller, virtual_server_setup",

tests/suite/test_virtual_server_backup_service.py

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

106106

107107
@pytest.mark.vs
108+
@pytest.mark.vs_backup
108109
@pytest.mark.skip_for_nginx_oss
109110
@pytest.mark.skip(reason="issue with VS config")
110111
@pytest.mark.parametrize(

tests/suite/test_virtual_server_configmap_keys.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ def fin():
149149

150150

151151
@pytest.mark.vs
152+
@pytest.mark.vs_config_map
152153
@pytest.mark.parametrize(
153154
"crd_ingress_controller, virtual_server_setup",
154155
[
@@ -342,6 +343,7 @@ def test_keys_in_main_config(
342343

343344

344345
@pytest.mark.vs
346+
@pytest.mark.vs_config_map
345347
@pytest.mark.parametrize(
346348
"crd_ingress_controller, virtual_server_setup",
347349
[

tests/suite/test_virtual_server_focused_canary.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def get_upstreams_of_splitting(file) -> []:
3838

3939

4040
@pytest.mark.vs
41+
@pytest.mark.vs_canary
4142
@pytest.mark.parametrize(
4243
"crd_ingress_controller, virtual_server_setup",
4344
[

tests/suite/test_virtual_server_upstream_options.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121

2222
@pytest.mark.vs
23+
@pytest.mark.vs_upstream
2324
@pytest.mark.parametrize(
2425
"crd_ingress_controller, virtual_server_setup",
2526
[
@@ -354,6 +355,7 @@ def test_v_s_overrides_config_map(
354355

355356

356357
@pytest.mark.vs
358+
@pytest.mark.vs_upstream
357359
@pytest.mark.parametrize(
358360
"crd_ingress_controller, virtual_server_setup",
359361
[
@@ -471,6 +473,7 @@ def test_openapi_validation_flow(
471473

472474

473475
@pytest.mark.vs
476+
@pytest.mark.vs_upstream
474477
@pytest.mark.skip_for_nginx_oss
475478
@pytest.mark.parametrize(
476479
"crd_ingress_controller, virtual_server_setup",

tests/suite/test_virtual_server_use_cluster_ip_reloads.py

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

66

77
@pytest.mark.vs
8+
@pytest.mark.vs_use_cluster_ip
89
@pytest.mark.parametrize(
910
"crd_ingress_controller, virtual_server_setup",
1011
[

0 commit comments

Comments
 (0)