      }
      updateEvents([&]() {
        events_.swap(new_events_);
        segments_merged_ = segments_need_merge;
        return true;
      });
    }
  }
  
  void Replay::startStream(const Segment *cur_segment) {
 
</s> remove       testSeekTo(util::random_int(0, 1 * 60));
 </s> add       testSeekTo(util::random_int(0, 2 * 60)); </s> remove   TestReplay(const QString &route, uint8_t flags = REPLAY_FLAG_NO_FILE_CACHE) : Replay(route, {}, {}, {}, nullptr, flags) {}
 </s> add   TestReplay(const QString &route, uint32_t flags = REPLAY_FLAG_NO_FILE_CACHE | REPLAY_FLAG_NO_VIPC) : Replay(route, {}, {}, {}, nullptr, flags) {}
      // Do not wake up the stream thread if the current segment has not been merged.
      return isSegmentMerged(current_segment_) || (segments_.count(current_segment_) == 0);
      }
      updateEvents([&]() {
        events_.swap(new_events_);
        segments_merged_ = segments_need_merge;
      // Do not wake up the stream thread if the current segment has not been merged.
      return isSegmentMerged(current_segment_) || (segments_.count(current_segment_) == 0);
      });
    }
  }
  
  void Replay::startStream(const Segment *cur_segment) {
keep keep keep keep replace keep keep keep keep keep
 replay: fix seekTo issue (#29422)

* fix seekTo issue

* remove extra space 
tools/replay/replay.cc