12 Commits
Author SHA1 Message Date
Francis Tsui a9b46f6029 Fix flaky test
PiperOrigin-RevId: 934044706
2026-06-17 19:03:16 -07:00
Edwin Wu 04022d0db3 Refactor MediumEnvironment to improve FakeClock usage.
PiperOrigin-RevId: 904891357
2026-04-24 02:07:38 -07:00
Francis Tsui 782464c674 Remove deprecated usage of MutexLock.
PiperOrigin-RevId: 829582162
2025-11-07 14:41:27 -08:00
Guogang Li b7e2f56886 Allow repeated task in scheduled executor.
PiperOrigin-RevId: 818758380
2025-10-13 11:36:37 -07:00
Francis Tsui 1750168761 Cleanup enable_task_scheduler flag.
PiperOrigin-RevId: 738938572
2025-03-20 14:21:05 -07:00
Guogang Li 25eec0ff0f Fixed some test issues
PiperOrigin-RevId: 662722512
2024-08-13 18:18:52 -07:00
Francis Tsui d56c1008cd Enable platform tests for Windows builds.
PiperOrigin-RevId: 658892575
2024-08-02 13:41:44 -07:00
Janusz Sobczak c249c3079f Support fake clock in test environment
A synthetic clock helps testing (long) timeouts by allowing us to move the time
forward by an arbitrary amount.

PiperOrigin-RevId: 520407442
2023-03-29 12:19:28 -07:00
Janusz Sobczak 8f887064ec Fix dead-lock during executor shutdown
The flow below caused a dead-lock:
1. A lengthy task A is running on an executor.
2. Executor is destructed, or `Shutdown()` on another thread. The call blocks
   waiting for A to complete.
3. Task A executes another task B on the executor. The call blocks forever.

PiperOrigin-RevId: 517495348
2023-03-17 13:34:57 -07:00
Janusz Sobczak f4d85f9b90 Migrate to AnyInvocable in platform code
PiperOrigin-RevId: 504104740
2023-01-23 16:04:21 -08:00
Suet-Fei Li 084f7ebd88 Remove location namespace in third_party/nearby.
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -08:00
hais f5fcd35ced nearby sdk refactor
PiperOrigin-RevId: 425434260
2022-02-02 11:56:39 -08:00