Tests: Change to only one CPU. Reduce CPU count test to 2.

This commit is contained in:
Albrecht Lohofener
2025-02-07 07:16:56 +01:00
parent 294085f595
commit 5f1e0e60c2
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ services:
#IS_U_OS_APP: "true"
# Define number of VM CPUs
CPU_COUNT: 2
#CPU_COUNT: 2
# Define which physical or virtual interfaces shall be attach direct to OpenWrt
WAN_IF: "host" # Usage of container host Ethernet connection as WAN. WARNING: Bad performace because of user space Ethernet implementation.
+2 -2
View File
@@ -365,8 +365,8 @@ def test_nginx_luci_forwarding_access(docker_services, parameter):
@pytest.mark.parametrize("parameter",
[('CPU_COUNT',1),('CPU_COUNT',2),('CPU_COUNT',3),('CPU_COUNT',4)], indirect=True,
ids=['CPU_COUNT=1', 'CPU_COUNT=2', 'CPU_COUNT=3', 'CPU_COUNT=4'])
[('CPU_COUNT',1),('CPU_COUNT',2)], indirect=True,
ids=['CPU_COUNT=1', 'CPU_COUNT=2'])
def test_cpu_num(docker_services, parameter):
wait_for_openwrt_startup(docker_services)
# Get number of processors