Fix race condition in async task reschedule test (#137405) #42089
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: docs-build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request_target: ~ | |
| merge_group: ~ | |
| jobs: | |
| docs-preview: | |
| uses: elastic/docs-builder/.github/workflows/preview-build.yml@main | |
| with: | |
| path-pattern: docs/** | |
| path-pattern-ignore: docs/changelog/**/*.yaml | |
| enable-cumulative-comment: true | |
| permissions: | |
| deployments: write | |
| id-token: write | |
| contents: read | |
| pull-requests: write |