mirror of
https://github.com/AlbrechtL/openwrt-docker.git
synced 2026-10-14 08:01:25 +00:00
Tests: Change to only one CPU. Reduce CPU count test to 2.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user