@@ -163,7 +163,7 @@ async fn basic_add_action_with_one_worker_test() -> Result<(), Error> {
163
163
& nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
164
164
memory_awaited_action_db_factory (
165
165
0 ,
166
- task_change_notify. clone ( ) ,
166
+ & task_change_notify. clone ( ) ,
167
167
MockInstantWrapped :: default,
168
168
) ,
169
169
|| async move { } ,
@@ -225,7 +225,7 @@ async fn client_does_not_receive_update_timeout() -> Result<(), Error> {
225
225
} ,
226
226
memory_awaited_action_db_factory (
227
227
0 ,
228
- task_change_notify. clone ( ) ,
228
+ & task_change_notify. clone ( ) ,
229
229
MockInstantWrapped :: default,
230
230
) ,
231
231
|| async move { } ,
@@ -294,7 +294,7 @@ async fn find_executing_action() -> Result<(), Error> {
294
294
& nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
295
295
memory_awaited_action_db_factory (
296
296
0 ,
297
- task_change_notify. clone ( ) ,
297
+ & task_change_notify. clone ( ) ,
298
298
MockInstantWrapped :: default,
299
299
) ,
300
300
|| async move { } ,
@@ -374,7 +374,7 @@ async fn remove_worker_reschedules_multiple_running_job_test() -> Result<(), Err
374
374
} ,
375
375
memory_awaited_action_db_factory (
376
376
0 ,
377
- task_change_notify. clone ( ) ,
377
+ & task_change_notify. clone ( ) ,
378
378
MockInstantWrapped :: default,
379
379
) ,
380
380
|| async move { } ,
@@ -549,7 +549,7 @@ async fn set_drain_worker_pauses_and_resumes_worker_test() -> Result<(), Error>
549
549
& nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
550
550
memory_awaited_action_db_factory (
551
551
0 ,
552
- task_change_notify. clone ( ) ,
552
+ & task_change_notify. clone ( ) ,
553
553
MockInstantWrapped :: default,
554
554
) ,
555
555
|| async move { } ,
@@ -636,7 +636,7 @@ async fn worker_should_not_queue_if_properties_dont_match_test() -> Result<(), E
636
636
} ,
637
637
memory_awaited_action_db_factory (
638
638
0 ,
639
- task_change_notify. clone ( ) ,
639
+ & task_change_notify. clone ( ) ,
640
640
MockInstantWrapped :: default,
641
641
) ,
642
642
|| async move { } ,
@@ -727,7 +727,7 @@ async fn cacheable_items_join_same_action_queued_test() -> Result<(), Error> {
727
727
& nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
728
728
memory_awaited_action_db_factory (
729
729
0 ,
730
- task_change_notify. clone ( ) ,
730
+ & task_change_notify. clone ( ) ,
731
731
MockInstantWrapped :: default,
732
732
) ,
733
733
|| async move { } ,
@@ -828,7 +828,7 @@ async fn worker_disconnects_does_not_schedule_for_execution_test() -> Result<(),
828
828
& nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
829
829
memory_awaited_action_db_factory (
830
830
0 ,
831
- task_change_notify. clone ( ) ,
831
+ & task_change_notify. clone ( ) ,
832
832
MockInstantWrapped :: default,
833
833
) ,
834
834
|| async move { } ,
@@ -1087,7 +1087,7 @@ async fn worker_timesout_reschedules_running_job_test() -> Result<(), Error> {
1087
1087
} ,
1088
1088
memory_awaited_action_db_factory (
1089
1089
0 ,
1090
- task_change_notify. clone ( ) ,
1090
+ & task_change_notify. clone ( ) ,
1091
1091
MockInstantWrapped :: default,
1092
1092
) ,
1093
1093
|| async move { } ,
@@ -1209,7 +1209,7 @@ async fn update_action_sends_completed_result_to_client_test() -> Result<(), Err
1209
1209
& nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
1210
1210
memory_awaited_action_db_factory (
1211
1211
0 ,
1212
- task_change_notify. clone ( ) ,
1212
+ & task_change_notify. clone ( ) ,
1213
1213
MockInstantWrapped :: default,
1214
1214
) ,
1215
1215
|| async move { } ,
@@ -1310,7 +1310,7 @@ async fn update_action_sends_completed_result_after_disconnect() -> Result<(), E
1310
1310
& nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
1311
1311
memory_awaited_action_db_factory (
1312
1312
0 ,
1313
- task_change_notify. clone ( ) ,
1313
+ & task_change_notify. clone ( ) ,
1314
1314
MockInstantWrapped :: default,
1315
1315
) ,
1316
1316
|| async move { } ,
@@ -1428,7 +1428,7 @@ async fn update_action_with_wrong_worker_id_errors_test() -> Result<(), Error> {
1428
1428
& nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
1429
1429
memory_awaited_action_db_factory (
1430
1430
0 ,
1431
- task_change_notify. clone ( ) ,
1431
+ & task_change_notify. clone ( ) ,
1432
1432
MockInstantWrapped :: default,
1433
1433
) ,
1434
1434
|| async move { } ,
@@ -1526,7 +1526,7 @@ async fn does_not_crash_if_operation_joined_then_relaunched() -> Result<(), Erro
1526
1526
& nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
1527
1527
memory_awaited_action_db_factory (
1528
1528
0 ,
1529
- task_change_notify. clone ( ) ,
1529
+ & task_change_notify. clone ( ) ,
1530
1530
MockInstantWrapped :: default,
1531
1531
) ,
1532
1532
|| async move { } ,
@@ -1669,7 +1669,7 @@ async fn run_two_jobs_on_same_worker_with_platform_properties_restrictions() ->
1669
1669
} ,
1670
1670
memory_awaited_action_db_factory (
1671
1671
0 ,
1672
- task_change_notify. clone ( ) ,
1672
+ & task_change_notify. clone ( ) ,
1673
1673
MockInstantWrapped :: default,
1674
1674
) ,
1675
1675
|| async move { } ,
@@ -1831,7 +1831,7 @@ async fn run_jobs_in_the_order_they_were_queued() -> Result<(), Error> {
1831
1831
} ,
1832
1832
memory_awaited_action_db_factory (
1833
1833
0 ,
1834
- task_change_notify. clone ( ) ,
1834
+ & task_change_notify. clone ( ) ,
1835
1835
MockInstantWrapped :: default,
1836
1836
) ,
1837
1837
|| async move { } ,
@@ -1898,7 +1898,7 @@ async fn worker_retries_on_internal_error_and_fails_test() -> Result<(), Error>
1898
1898
} ,
1899
1899
memory_awaited_action_db_factory (
1900
1900
0 ,
1901
- task_change_notify. clone ( ) ,
1901
+ & task_change_notify. clone ( ) ,
1902
1902
MockInstantWrapped :: default,
1903
1903
) ,
1904
1904
|| async move { } ,
@@ -2047,7 +2047,7 @@ async fn ensure_scheduler_drops_inner_spawn() -> Result<(), Error> {
2047
2047
& nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
2048
2048
memory_awaited_action_db_factory (
2049
2049
0 ,
2050
- task_change_notify. clone ( ) ,
2050
+ & task_change_notify. clone ( ) ,
2051
2051
MockInstantWrapped :: default,
2052
2052
) ,
2053
2053
move || {
@@ -2080,7 +2080,7 @@ async fn ensure_task_or_worker_change_notification_received_test() -> Result<(),
2080
2080
& nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
2081
2081
memory_awaited_action_db_factory (
2082
2082
0 ,
2083
- task_change_notify. clone ( ) ,
2083
+ & task_change_notify. clone ( ) ,
2084
2084
MockInstantWrapped :: default,
2085
2085
) ,
2086
2086
|| async move { } ,
@@ -2155,7 +2155,7 @@ async fn client_reconnect_keeps_action_alive() -> Result<(), Error> {
2155
2155
} ,
2156
2156
memory_awaited_action_db_factory (
2157
2157
0 ,
2158
- task_change_notify. clone ( ) ,
2158
+ & task_change_notify. clone ( ) ,
2159
2159
MockInstantWrapped :: default,
2160
2160
) ,
2161
2161
|| async move { } ,
0 commit comments