Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Make agents wait for dev_set_config/WPS PBC before master discovery #1572

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
1ec5ab4
agent: Move front radio configuration to AgentDB
orenvor Aug 4, 2020
a90ff11
agent: Move back radio configuration to AgentDB
orenvor Aug 4, 2020
e0f140c
agent: Move mem_only_psk configuration to AgentDB
orenvor Aug 5, 2020
9684b1c
agent: Move backhaul_max_vaps configuration to AgentDB
orenvor Aug 6, 2020
c6e86bf
agent: Move backhaul_network_enabled configuration to AgentDB
orenvor Aug 6, 2020
7e31c72
agent: Move backhaul_preferred_radio_band configuration to AgentDB
orenvor Aug 6, 2020
e4b3863
agent: Move operating_mode configuration to AgentDB
orenvor Aug 6, 2020
9a2d18a
agent: Move management_mode configuration to AgentDB
orenvor Aug 6, 2020
b5eff11
agent: Move certification_mode configuration to AgentDB
orenvor Aug 6, 2020
00e80bc
agent: Move stop_on_failure_attempts configuration to AgentDB
orenvor Aug 6, 2020
16907ff
agent: Move client_band_steering_enabled configuration to AgentDB
orenvor Aug 6, 2020
f479475
agent: Move client_optimal_path_roaming_enabled configuration to AgentDB
orenvor Aug 6, 2020
50c0a7f
agent: Move dfs_reentry_enabled configuration to AgentDB
orenvor Aug 6, 2020
b12b1dd
agent: Move client_optimal_path_prefer_signal_strength to AgentDB
orenvor Aug 6, 2020
0254f28
agent: Move client_11k_roaming_enabled configuration to AgentDB
orenvor Aug 6, 2020
cd995b3
agent: Move load_balancing_enabled configuration to AgentDB
orenvor Aug 6, 2020
869767a
agent: Move service_fairness_enabled configuration to AgentDB
orenvor Aug 6, 2020
0134cb2
agent: Move rdkb_extensions_enabled configuration to AgentDB
orenvor Aug 6, 2020
5881aa0
agent: remove unused onboarding configuration
orenvor Aug 10, 2020
dde1284
tlvf: beerocks_message::sPlatformSettings remove unused settings
orenvor Aug 9, 2020
ccac7e9
agent: Remove "platform_settings" local variable from son_slave_thread
orenvor Aug 11, 2020
12ca153
agent: Move wlan_settings configuration to AgentDB
orenvor Aug 11, 2020
a9638cc
fixup! agent: Move wlan_settings configuration to AgentDB
orenvor Aug 12, 2020
e355119
tlvf: PLATFORM_SON_SLAVE_REGISTER_RESPONSE remove unused fields
orenvor Aug 12, 2020
9f3ce07
test_flows.py: add timeouts to make tests pass
vitalii-komisarenko Aug 10, 2020
5610ca4
test_gw_repeater: disable operational test for repeaters
vitalii-komisarenko Aug 10, 2020
fb61391
test_flows: send dev_set_config to repeaters before tests
vitalii-komisarenko Aug 10, 2020
de689cf
agent: backhaul_manager: wait for dev_set_config in certification
vitalii-komisarenko Jul 28, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test_flows.py: add timeouts to make tests pass
Synchronization in test_flows.py is implemented by using timeouts.

They are too short to pass tests on my personal computer,
but they occasionally fail on the CI too.

Added more timeouts to make tests more robust.

Signed-off-by: Vitalii Komisarenko <[email protected]>
  • Loading branch information
vitalii-komisarenko committed Aug 13, 2020
commit 9f3ce07167824a82574aab16e966cdc47bf9bfa8
4 changes: 3 additions & 1 deletion tests/test_flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def test_dev_reset_default(self):
self.check_no_cmdu_type("autoconfig search while in reset", 0x0007, agent.mac)
env.checkpoint()
agent.cmd_reply("dev_set_config,backhaul,eth")
time.sleep(1)
time.sleep(3)
morantr marked this conversation as resolved.
Show resolved Hide resolved
self.check_cmdu_type("autoconfig search", 0x0007, agent.mac)

def test_capi_wireless_onboarding(self):
Expand Down Expand Up @@ -375,11 +375,13 @@ def test_ap_config_renew(self):
mac_repeater1_upper = env.agents[0].mac.upper()
# Configure the controller and send renew
env.controller.cmd_reply("DEV_RESET_DEFAULT")
time.sleep(2)
env.controller.cmd_reply(
"DEV_SET_CONFIG,"
"bss_info1,{} 8x Multi-AP-24G-1 0x0020 0x0008 maprocks1 0 1,"
"bss_info2,{} 8x Multi-AP-24G-2 0x0020 0x0008 maprocks2 1 0"
.format(mac_repeater1_upper, env.agents[0].mac))
time.sleep(2)
env.controller.dev_send_1905(env.agents[0].mac, 0x000A,
tlv(0x01, 0x0006, "{" + env.controller.mac + "}"),
tlv(0x0F, 0x0001, "{0x00}"),
Expand Down