Increase TaskQueueTest.PostALot timeouts

recent changed decreased timeout from forever to 1s which is not enough on some platforms
Increase timeout to forever for posting 65k tasks.
Also increase timeout for eventual destruction of the tasks to reduce change it would flake.

Bug: chromium:972917
Change-Id: I4948d49c1514833ab190856fdd25a47a5bad91eb
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/141410
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28235}
diff --git a/api/task_queue/task_queue_test.cc b/api/task_queue/task_queue_test.cc
index 8cf59ce..e56672a 100644
--- a/api/task_queue/task_queue_test.cc
+++ b/api/task_queue/task_queue_test.cc
@@ -225,14 +225,14 @@
   }));
 
   // Before destroying the task queue wait until all child tasks are posted.
-  EXPECT_TRUE(posting_done.Wait(1000));
+  posting_done.Wait(rtc::Event::kForever);
   // Destroy the task queue.
   task_queue = nullptr;
 
   // Expect all tasks are destroyed eventually. In some task queue
   // implementations that might happen on a different thread after task queue is
   // destroyed.
-  EXPECT_TRUE(all_destroyed.Wait(1000));
+  EXPECT_TRUE(all_destroyed.Wait(60000));
   EXPECT_LE(tasks_executed, kTaskCount);
 }