Skip to content

Commit

Permalink
Move some python tests from vs1 to vs2 (#5888)
Browse files Browse the repository at this point in the history
more tests from vs1 to vs2
  • Loading branch information
Jim Ryan authored Jun 28, 2024
1 parent 77cc604 commit 715141e
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/data/matrix-smoke-oss.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@
"label": "VS 1/3",
"image": "debian",
"type": "oss",
"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'",
"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'",
"platforms": "linux/arm, linux/arm64, linux/amd64, linux/ppc64le, linux/s390x"
},
{
"label": "VS 2/3",
"image": "debian",
"type": "oss",
"marker": "'vs_grpc or vs_redirects or vs_externalname or vs_externaldns'",
"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'",
"platforms": "linux/arm, linux/arm64, linux/amd64, linux/ppc64le, linux/s390x"
},
{
Expand Down
4 changes: 2 additions & 2 deletions .github/data/matrix-smoke-plus.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"label": "VS 1/3",
"image": "debian-plus",
"type": "plus",
"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'",
"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'",
"platforms": "linux/arm64, linux/amd64"
},
{
"label": "VS 2/3",
"image": "debian-plus",
"type": "plus",
"marker": "'vs_grpc or vs_redirects or vs_externalname or vs_externaldns'",
"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'",
"platforms": "linux/arm64, linux/amd64"
},
{
Expand Down
1 change: 1 addition & 0 deletions tests/suite/test_virtual_server_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@


@pytest.mark.vs
@pytest.mark.vs_api
@pytest.mark.skip_for_nginx_oss
@pytest.mark.parametrize(
"crd_ingress_controller, virtual_server_setup",
Expand Down
1 change: 1 addition & 0 deletions tests/suite/test_virtual_server_backup_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ def fin():


@pytest.mark.vs
@pytest.mark.vs_backup
@pytest.mark.skip_for_nginx_oss
@pytest.mark.skip(reason="issue with VS config")
@pytest.mark.parametrize(
Expand Down
2 changes: 2 additions & 0 deletions tests/suite/test_virtual_server_configmap_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ def fin():


@pytest.mark.vs
@pytest.mark.vs_config_map
@pytest.mark.parametrize(
"crd_ingress_controller, virtual_server_setup",
[
Expand Down Expand Up @@ -342,6 +343,7 @@ def test_keys_in_main_config(


@pytest.mark.vs
@pytest.mark.vs_config_map
@pytest.mark.parametrize(
"crd_ingress_controller, virtual_server_setup",
[
Expand Down
1 change: 1 addition & 0 deletions tests/suite/test_virtual_server_focused_canary.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def get_upstreams_of_splitting(file) -> []:


@pytest.mark.vs
@pytest.mark.vs_canary
@pytest.mark.parametrize(
"crd_ingress_controller, virtual_server_setup",
[
Expand Down
3 changes: 3 additions & 0 deletions tests/suite/test_virtual_server_upstream_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@


@pytest.mark.vs
@pytest.mark.vs_upstream
@pytest.mark.parametrize(
"crd_ingress_controller, virtual_server_setup",
[
Expand Down Expand Up @@ -354,6 +355,7 @@ def test_v_s_overrides_config_map(


@pytest.mark.vs
@pytest.mark.vs_upstream
@pytest.mark.parametrize(
"crd_ingress_controller, virtual_server_setup",
[
Expand Down Expand Up @@ -471,6 +473,7 @@ def test_openapi_validation_flow(


@pytest.mark.vs
@pytest.mark.vs_upstream
@pytest.mark.skip_for_nginx_oss
@pytest.mark.parametrize(
"crd_ingress_controller, virtual_server_setup",
Expand Down
1 change: 1 addition & 0 deletions tests/suite/test_virtual_server_use_cluster_ip_reloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@


@pytest.mark.vs
@pytest.mark.vs_use_cluster_ip
@pytest.mark.parametrize(
"crd_ingress_controller, virtual_server_setup",
[
Expand Down

0 comments on commit 715141e

Please sign in to comment.