Bluetooth: Test: Update ccc_store
bsim test
Update `ccc_store` bsim test to remove the 'expected failure'. The issue being fixed in the following commit. Signed-off-by: Théo Battrel <theo.battrel@nordicsemi.no>
This commit is contained in:
parent
9db44fa281
commit
cb48626399
2 changed files with 2 additions and 12 deletions
|
@ -21,10 +21,5 @@ CONFIG_SETTINGS_NVS=y
|
|||
|
||||
CONFIG_ASSERT=y
|
||||
|
||||
# By doing so, BT_SETTINGS_DELAYED_STORE will be enabled because
|
||||
# BT_SETTINGS_CF_STORE_ON_WRITE is enabled by default and selecting it.
|
||||
# This cause the CCC to not be stored at all.
|
||||
# If BT_SETTINGS_CCC_LAZY_LOADING is enabled, the test will pass because the
|
||||
# CCC will not be cleared after the first disconnection and will then still be
|
||||
# in RAM.
|
||||
# Test that CCC is stored even if BT_SETTINGS_DELAYED_STORE is enabled
|
||||
CONFIG_BT_SETTINGS_CCC_STORE_ON_WRITE=n
|
||||
|
|
|
@ -197,12 +197,7 @@ static void connect_restore_sec_check_subscribtion(struct bt_le_ext_adv *adv)
|
|||
|
||||
/* check that subscribtion has been restored */
|
||||
if (!is_peer_subscribed(default_conn)) {
|
||||
if (!IS_ENABLED(CONFIG_BT_SETTINGS_CCC_STORE_ON_WRITE)) {
|
||||
LOG_ERR("Expected failure: client is not subscribed. See issue #58471 for "
|
||||
"more details.");
|
||||
} else {
|
||||
FAIL("Client is not subscribed\n");
|
||||
}
|
||||
FAIL("Client is not subscribed\n");
|
||||
} else {
|
||||
LOG_DBG("Client is subscribed");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue