message: [miner]fix test_miner_with_ondemand_pacemaker.
diff: @@ -72,15 +72,6 @@ async fn test_miner_with_schedule_pacemaker() {
  .expect("launch DownloadActor failed.");
  let _sync = SyncActor::launch(bus.clone(), process_actor, download_actor).unwrap();
  - // for _i in 0..5 as usize {
  - // txpool
  - // .clone()
  - // .add(SignedUserTransaction::mock())
  - // .await
  - // .unwrap();
  - // delay_for(Duration::from_millis(1000)).await;
  - // }
  -
  delay_for(Duration::from_millis(10 * 1000)).await;
  let number = chain.clone().current_header().await.unwrap().number();
  info!("current block number: {}", number);
  @@ -140,14 +131,7 @@ async fn test_miner_with_ondemand_pacemaker() {
  .expect("launch DownloadActor failed.");
  let _sync = SyncActor::launch(bus.clone(), process_actor, download_actor).unwrap();
  - for _i in 0..5 as usize {
  - txpool
  - .clone()
  - .add(SignedUserTransaction::mock())
  - .await
  - .unwrap();
  - delay_for(Duration::from_millis(1000)).await;
  - }
  + delay_for(Duration::from_millis(5 * 1000)).await;
  let number = chain.clone().current_header().await.unwrap().number();
  info!("{}", number);
  