Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-9674

Remove 65s sleep in QueryableState E2E test

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      The test_queryable_state_restart_tm.sh kills a taskmanager, waits for the loss to be noticed, starts a new tm and waits for the job to continue.

      kill_random_taskmanager
      
      [...]
      
      sleep 65 # this is a little longer than the heartbeat timeout so that the TM is gone
      
      start_and_wait_for_tm
      

      Instead of waiting for a fixed amount of time that is tied to some config value we should wait for a specific event, like the job being canceled.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            chesnay Chesnay Schepler
            chesnay Chesnay Schepler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment