zephyr/tests
Jonathan Rico a7cf7eb393 Bluetooth: l2cap: change `connected` cb call condition for ECRED
This was recently refactored (in #58440). But it introduced a bug in which
some channels were connected but not the whole list asked for by the peer.

In that case, `result` will not be `SUCCESS` but we still want to call the
`connected` callback as the peer will consider those channels to be
connected when we send the response.

The symptom is that EATT channels are being instantiated, but not
considered connected (ie. usable by the stack).

Also introduce a test that has asymmetric channel resources (5 on central
vs 2 on peripheral) to reproduce the bug.

Fixes #60212

Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
2023-07-31 19:39:09 +00:00
..
application_development tests: code_relocation: support mr_canhubk3 boards 2023-07-14 09:38:43 +02:00
arch dts: Move to 'zephyr,memory-attr' 2023-07-25 11:22:10 +02:00
benchmarks test: Enhance benchmark latency reporting 2023-07-19 17:51:36 -04:00
bluetooth bluetooth: tester: gap: Add support for extended advertising 2023-07-26 14:33:22 +02:00
boards tests: boards: espressif: add esp32s3 to cache coex test 2023-07-26 14:42:20 +02:00
boot tests: boot: mcuboot_recovery_retention: Fix configuration issue 2023-07-20 15:13:49 +00:00
bsim Bluetooth: l2cap: change `connected` cb call condition for ECRED 2023-07-31 19:39:09 +00:00
cmake tests: snippets: Rework the snippet test 2023-05-25 21:51:26 +02:00
crypto tests: cleanup metadata and filtering 2023-06-13 09:38:27 -04:00
drivers tests: drivers: build_all: sensor: do not run build-only testsuite 2023-07-30 12:09:11 -04:00
kernel shared_multi_heap: Use proper enum instead of int 2023-07-26 07:56:39 -04:00
lib tests: thrift: re-order shared_ptr reset to prevent fd leak 2023-07-31 10:09:55 +02:00
misc tests: misc: check_init_priorities: update output 2023-07-25 15:58:06 +00:00
net drivers: ieee802154: consistent high res timestamps 2023-07-28 09:06:35 +00:00
posix test: Relocate posix mqueue receive buffer 2023-07-31 10:08:34 +02:00
robot Twister: Add integration with renode-test 2023-05-26 09:43:49 -04:00
subsys tests: subsys: canbus changing the test thread priority 2023-07-31 10:09:25 +02:00
unit include: util: Add DIV_ROUND_CLOSEST helper 2023-07-21 10:49:41 +00:00
ztest tests: cleanup metadata and filtering 2023-06-13 09:38:27 -04:00
test_config.yaml