summaryrefslogtreecommitdiff
path: root/src/rust/uwb_uci_packets/uci_packets.pdl
diff options
context:
space:
mode:
authorAyush Jain <ayushjain@google.com>2023-06-22 17:57:51 +0000
committerAyush Jain <ayushjain@google.com>2023-06-23 23:04:27 +0000
commite7a9691162cde34c807589de1e4e0fbe20a2254e (patch)
tree33cc664ac9cd6d06be59ebbc724843709e77afd9 /src/rust/uwb_uci_packets/uci_packets.pdl
parent56dec1732b20712a3f8f3a6a26cf4faf0110e1af (diff)
downloaduwb-e7a9691162cde34c807589de1e4e0fbe20a2254e.tar.gz
Flush log files in test before checking contents.
1) Flush the log files to storage by calling sync_all() on them, after the packets have been logged and before the log files are verified. 2) The tests wait on the flush() operation to complete (using a Channel for synchronization), as the flush happens in a different thread (LogWriterActor). Bug: 287161361 Test: atest libuwb_core_tests --iterations=500 Change-Id: Ife5967167e72bbc79529148d953080c00376713e
Diffstat (limited to 'src/rust/uwb_uci_packets/uci_packets.pdl')
0 files changed, 0 insertions, 0 deletions