Repository navigation
[PW_SID:1181897] Test links completing after their connection was aborted - #2639
BluezTestBot wants to merge 2 commits into
Conversation
Add a test that closes the socket while the emulator holds the Synchronous Connection Complete event of its setup, so that the kernel aborts the connection before the link comes up. No connection takes the link then, so the test expects the kernel to disconnect it, as the controller would otherwise keep it and reject further setups for the device. eSCO CVSD - Close Before Complete Assisted-by: Claude:claude-opus-5-5
Add BR/EDR and LE client tests that close the socket while the emulator holds the Connection Complete or LE Connection Complete event, so that the kernel aborts the connection before the link comes up. No connection takes the link then, so the tests expect the kernel to disconnect it instead of leaving it up in the controller. L2CAP BR/EDR Client - Close Before Complete L2CAP LE Client - Close Before Complete Assisted-by: Claude:claude-opus-5-5
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 27 |
| Duplication | 2 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
|
CheckPatch |
|
GitLint |
|
BuildEll |
|
BluezMake |
|
CheckSmatch |
|
bluezmakeextell |
|
TestFunctional |
|
IncrementalBuild |
|
ScanBuild |
Add a test that closes the socket while the emulator holds the
Synchronous Connection Complete event of its setup, so that the kernel
aborts the connection before the link comes up. No connection takes the
link then, so the test expects the kernel to disconnect it, as the
controller would otherwise keep it and reject further setups for the
device.
eSCO CVSD - Close Before Complete
Assisted-by: Claude:claude-opus-5-5
tools/sco-tester.c | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)