[bluez/bluez] 647e30: unit: Speed up unit-avdtp test

From: hadess <hidden>
Date: 2026-01-09 09:43:35

  Branch: refs/heads/1040361
  Home:   https://github.com/bluez/bluez
  Commit: 647e301b2ee3ff6b7b7c8b542d92e8233e582701
      https://github.com/bluez/bluez/commit/647e301b2ee3ff6b7b7c8b542d92e8233e582701
  Author: Bastien Nocera [off-list ref]
  Date:   2026-01-09 (Fri, 09 Jan 2026)

  Changed paths:
    M unit/test-avdtp.c

  Log Message:
  -----------
  unit: Speed up unit-avdtp test

Speed up /TP/SIG/SMG/BI-02-C by reducing the timeout length from 1
second to 100 milliseconds.

This reduces the runtime from 1.5 secs to 0.1 secs.


  Commit: 1eaacefd4da786b1ed7353dd10e0ddc4a1ddb92f
      https://github.com/bluez/bluez/commit/1eaacefd4da786b1ed7353dd10e0ddc4a1ddb92f
  Author: Bastien Nocera [off-list ref]
  Date:   2026-01-09 (Fri, 09 Jan 2026)

  Changed paths:
    M unit/test-gobex-transfer.c

  Log Message:
  -----------
  unit: Speed up unit-gobex-transfer test

Speed up /gobex/test_packet_put_req_suspend_resume by reducing the
timeout length from seconds to hundreds of milliseconds.

This reduces the runtime from 1.5 secs to 0.1 secs.


  Commit: 4a4324b4d0cbdd6b79ef45002df87f07bf59318a
      https://github.com/bluez/bluez/commit/4a4324b4d0cbdd6b79ef45002df87f07bf59318a
  Author: Bastien Nocera [off-list ref]
  Date:   2026-01-09 (Fri, 09 Jan 2026)

  Changed paths:
    M unit/test-ringbuf.c

  Log Message:
  -----------
  unit: Speed up unit-ringbuf test

Speed up /gobex/test_packet_put_req_suspend_resume by not printing
debug for each of the million of iterations of our test.

If we carry on printing this, then either the terminal's output speed,
or the debug capture from the test suite will throttle the test.

This reduces the runtime from 3.3 secs to 0.007 secs.


Compare: https://github.com/bluez/bluez/compare/647e301b2ee3%5E...4a4324b4d0cb

To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help