diff options
author | Sergey V. Lobanov <sergey@lobanov.in> | 2024-11-28 22:24:01 +0100 |
---|---|---|
committer | Sergey V. Lobanov <sergey@lobanov.in> | 2024-11-28 22:37:25 +0100 |
commit | 3ffd332fc22bdfb450f941ad2bbf5c04c2467ed1 (patch) | |
tree | b4b4f27db8a93471b1f712074a9162f91cfee2f1 /tests | |
parent | bc81d8373bf7d26cad2225eb9deea47981bb4373 (diff) | |
download | accel-ppp-3ffd332fc22bdfb450f941ad2bbf5c04c2467ed1.tar.gz accel-ppp-3ffd332fc22bdfb450f941ad2bbf5c04c2467ed1.zip |
tests,ci: disable chap-secrets related tests on alpine
radius and chap-secrets can't work together due to musl library limiations
This patch disables chap-secrets related tests on alpine
ref: https://github.com/accel-ppp/accel-ppp/pull/190#issuecomment-2331036461
Diffstat (limited to 'tests')
4 files changed, 7 insertions, 0 deletions
diff --git a/tests/accel-pppd/ipoe/dhcpv4/test_ipoe_shared_session_chap_secrets.py b/tests/accel-pppd/ipoe/dhcpv4/test_ipoe_shared_session_chap_secrets.py index 2486e4ea..80c559da 100644 --- a/tests/accel-pppd/ipoe/dhcpv4/test_ipoe_shared_session_chap_secrets.py +++ b/tests/accel-pppd/ipoe/dhcpv4/test_ipoe_shared_session_chap_secrets.py @@ -54,6 +54,7 @@ def accel_pppd_config(veth_pair_netns, chap_secrets_config_file): # test dhcpv4 shared session without auth check @pytest.mark.dependency(depends=["ipoe_driver_loaded"], scope="session") @pytest.mark.ipoe_driver +@pytest.mark.chap_secrets def test_ipoe_shared_session_chap_secrets( dhclient_instance, accel_cmd, veth_pair_netns ): diff --git a/tests/accel-pppd/ipoe/dhcpv4/test_ipoe_shared_session_lua_chap_secrets.py b/tests/accel-pppd/ipoe/dhcpv4/test_ipoe_shared_session_lua_chap_secrets.py index 7de0d510..fdee7c4a 100644 --- a/tests/accel-pppd/ipoe/dhcpv4/test_ipoe_shared_session_lua_chap_secrets.py +++ b/tests/accel-pppd/ipoe/dhcpv4/test_ipoe_shared_session_lua_chap_secrets.py @@ -74,6 +74,7 @@ def accel_pppd_config(veth_pair_netns, chap_secrets_config_file, lua_script_file # test dhcpv4 shared session without auth check @pytest.mark.dependency(depends=["ipoe_driver_loaded"], scope="session") @pytest.mark.ipoe_driver +@pytest.mark.chap_secrets def test_ipoe_shared_session_lua_chap_secrets( dhclient_instance, accel_cmd, veth_pair_netns ): diff --git a/tests/accel-pppd/pppoe/test_pppoe_session_chap_secrets.py b/tests/accel-pppd/pppoe/test_pppoe_session_chap_secrets.py index e8ac472d..05d19701 100644 --- a/tests/accel-pppd/pppoe/test_pppoe_session_chap_secrets.py +++ b/tests/accel-pppd/pppoe/test_pppoe_session_chap_secrets.py @@ -68,6 +68,7 @@ def pppd_config(veth_pair_netns): # test pppoe session without auth check +@pytest.mark.chap_secrets def test_pppoe_session_chap_secrets(pppd_instance, accel_cmd): # test that pppd (with accel-pppd) started successfully diff --git a/tests/conftest.py b/tests/conftest.py index 6687ed10..da1f40f4 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -26,6 +26,10 @@ def pytest_configure(config): "markers", "vlan_mon_driver: marks tests as related to ipoe kernel module (deselect with '-m \"not vlan_mon_driver\"')", ) + config.addinivalue_line( + "markers", + "chap_secrets: marks tests as related to chap-secrets module (deselect with '-m \"not chap_secrets\"')", + ) # accel-pppd executable file name |