@@ -163,7 +163,7 @@ async fn basic_add_action_with_one_worker_test() -> Result<(), Error> {
163163 & nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
164164 memory_awaited_action_db_factory (
165165 0 ,
166- task_change_notify. clone ( ) ,
166+ & task_change_notify. clone ( ) ,
167167 MockInstantWrapped :: default,
168168 ) ,
169169 || async move { } ,
@@ -225,7 +225,7 @@ async fn client_does_not_receive_update_timeout() -> Result<(), Error> {
225225 } ,
226226 memory_awaited_action_db_factory (
227227 0 ,
228- task_change_notify. clone ( ) ,
228+ & task_change_notify. clone ( ) ,
229229 MockInstantWrapped :: default,
230230 ) ,
231231 || async move { } ,
@@ -294,7 +294,7 @@ async fn find_executing_action() -> Result<(), Error> {
294294 & nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
295295 memory_awaited_action_db_factory (
296296 0 ,
297- task_change_notify. clone ( ) ,
297+ & task_change_notify. clone ( ) ,
298298 MockInstantWrapped :: default,
299299 ) ,
300300 || async move { } ,
@@ -374,7 +374,7 @@ async fn remove_worker_reschedules_multiple_running_job_test() -> Result<(), Err
374374 } ,
375375 memory_awaited_action_db_factory (
376376 0 ,
377- task_change_notify. clone ( ) ,
377+ & task_change_notify. clone ( ) ,
378378 MockInstantWrapped :: default,
379379 ) ,
380380 || async move { } ,
@@ -549,7 +549,7 @@ async fn set_drain_worker_pauses_and_resumes_worker_test() -> Result<(), Error>
549549 & nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
550550 memory_awaited_action_db_factory (
551551 0 ,
552- task_change_notify. clone ( ) ,
552+ & task_change_notify. clone ( ) ,
553553 MockInstantWrapped :: default,
554554 ) ,
555555 || async move { } ,
@@ -636,7 +636,7 @@ async fn worker_should_not_queue_if_properties_dont_match_test() -> Result<(), E
636636 } ,
637637 memory_awaited_action_db_factory (
638638 0 ,
639- task_change_notify. clone ( ) ,
639+ & task_change_notify. clone ( ) ,
640640 MockInstantWrapped :: default,
641641 ) ,
642642 || async move { } ,
@@ -727,7 +727,7 @@ async fn cacheable_items_join_same_action_queued_test() -> Result<(), Error> {
727727 & nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
728728 memory_awaited_action_db_factory (
729729 0 ,
730- task_change_notify. clone ( ) ,
730+ & task_change_notify. clone ( ) ,
731731 MockInstantWrapped :: default,
732732 ) ,
733733 || async move { } ,
@@ -828,7 +828,7 @@ async fn worker_disconnects_does_not_schedule_for_execution_test() -> Result<(),
828828 & nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
829829 memory_awaited_action_db_factory (
830830 0 ,
831- task_change_notify. clone ( ) ,
831+ & task_change_notify. clone ( ) ,
832832 MockInstantWrapped :: default,
833833 ) ,
834834 || async move { } ,
@@ -1087,7 +1087,7 @@ async fn worker_timesout_reschedules_running_job_test() -> Result<(), Error> {
10871087 } ,
10881088 memory_awaited_action_db_factory (
10891089 0 ,
1090- task_change_notify. clone ( ) ,
1090+ & task_change_notify. clone ( ) ,
10911091 MockInstantWrapped :: default,
10921092 ) ,
10931093 || async move { } ,
@@ -1209,7 +1209,7 @@ async fn update_action_sends_completed_result_to_client_test() -> Result<(), Err
12091209 & nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
12101210 memory_awaited_action_db_factory (
12111211 0 ,
1212- task_change_notify. clone ( ) ,
1212+ & task_change_notify. clone ( ) ,
12131213 MockInstantWrapped :: default,
12141214 ) ,
12151215 || async move { } ,
@@ -1310,7 +1310,7 @@ async fn update_action_sends_completed_result_after_disconnect() -> Result<(), E
13101310 & nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
13111311 memory_awaited_action_db_factory (
13121312 0 ,
1313- task_change_notify. clone ( ) ,
1313+ & task_change_notify. clone ( ) ,
13141314 MockInstantWrapped :: default,
13151315 ) ,
13161316 || async move { } ,
@@ -1428,7 +1428,7 @@ async fn update_action_with_wrong_worker_id_errors_test() -> Result<(), Error> {
14281428 & nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
14291429 memory_awaited_action_db_factory (
14301430 0 ,
1431- task_change_notify. clone ( ) ,
1431+ & task_change_notify. clone ( ) ,
14321432 MockInstantWrapped :: default,
14331433 ) ,
14341434 || async move { } ,
@@ -1526,7 +1526,7 @@ async fn does_not_crash_if_operation_joined_then_relaunched() -> Result<(), Erro
15261526 & nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
15271527 memory_awaited_action_db_factory (
15281528 0 ,
1529- task_change_notify. clone ( ) ,
1529+ & task_change_notify. clone ( ) ,
15301530 MockInstantWrapped :: default,
15311531 ) ,
15321532 || async move { } ,
@@ -1669,7 +1669,7 @@ async fn run_two_jobs_on_same_worker_with_platform_properties_restrictions() ->
16691669 } ,
16701670 memory_awaited_action_db_factory (
16711671 0 ,
1672- task_change_notify. clone ( ) ,
1672+ & task_change_notify. clone ( ) ,
16731673 MockInstantWrapped :: default,
16741674 ) ,
16751675 || async move { } ,
@@ -1831,7 +1831,7 @@ async fn run_jobs_in_the_order_they_were_queued() -> Result<(), Error> {
18311831 } ,
18321832 memory_awaited_action_db_factory (
18331833 0 ,
1834- task_change_notify. clone ( ) ,
1834+ & task_change_notify. clone ( ) ,
18351835 MockInstantWrapped :: default,
18361836 ) ,
18371837 || async move { } ,
@@ -1898,7 +1898,7 @@ async fn worker_retries_on_internal_error_and_fails_test() -> Result<(), Error>
18981898 } ,
18991899 memory_awaited_action_db_factory (
19001900 0 ,
1901- task_change_notify. clone ( ) ,
1901+ & task_change_notify. clone ( ) ,
19021902 MockInstantWrapped :: default,
19031903 ) ,
19041904 || async move { } ,
@@ -2047,7 +2047,7 @@ async fn ensure_scheduler_drops_inner_spawn() -> Result<(), Error> {
20472047 & nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
20482048 memory_awaited_action_db_factory (
20492049 0 ,
2050- task_change_notify. clone ( ) ,
2050+ & task_change_notify. clone ( ) ,
20512051 MockInstantWrapped :: default,
20522052 ) ,
20532053 move || {
@@ -2080,7 +2080,7 @@ async fn ensure_task_or_worker_change_notification_received_test() -> Result<(),
20802080 & nativelink_config:: schedulers:: SimpleScheduler :: default ( ) ,
20812081 memory_awaited_action_db_factory (
20822082 0 ,
2083- task_change_notify. clone ( ) ,
2083+ & task_change_notify. clone ( ) ,
20842084 MockInstantWrapped :: default,
20852085 ) ,
20862086 || async move { } ,
@@ -2155,7 +2155,7 @@ async fn client_reconnect_keeps_action_alive() -> Result<(), Error> {
21552155 } ,
21562156 memory_awaited_action_db_factory (
21572157 0 ,
2158- task_change_notify. clone ( ) ,
2158+ & task_change_notify. clone ( ) ,
21592159 MockInstantWrapped :: default,
21602160 ) ,
21612161 || async move { } ,
0 commit comments