Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 2,277 for Tests (0.02 seconds)

  1. .ci/jobs.t/elastic+elasticsearch+multijob+third-party-tests-azure.yml

    ---
    - job:
        name: elastic+elasticsearch+%BRANCH%+multijob+third-party-tests-azure
        workspace: /dev/shm/elastic+elasticsearch+%BRANCH%+multijob+third-party-tests-azure
        display-name: "elastic / elasticsearch # %BRANCH% - third party tests azure"
        description: "Testing of the Elasticsearch %BRANCH% third party tests against Azure\n"
        builders:
          - inject:
              properties-file: '.ci/java-versions.properties'
              properties-content: |
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 06 21:46:09 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  2. .ci/jobs.t/elastic+elasticsearch+pull-request+packaging-tests-unix-sample.yml

    ---
    - job:
        name: "elastic+elasticsearch+pull-request+packaging-tests-unix-sample"
        display-name: "elastic / elasticsearch - pull request packaging-tests-unix-sample"
        description: "Testing of Elasticsearch pull requests - packaging-tests-unix-sample"
        project-type: matrix
        node: master
        scm:
          - git:
              refspec: "+refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*"
              branches:
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 01 20:27:05 GMT 2021
    - 1.8K bytes
    - Click Count (0)
  3. .ci/jobs.t/elastic+elasticsearch+pull-request+packaging-tests-windows-nojdk.yml

    ---
    - job:
        name: "elastic+elasticsearch+pull-request+packaging-tests-windows-nojdk"
        display-name: "elastic / elasticsearch - pull request packaging-tests-windows-nojdk"
        description: "Testing of Elasticsearch pull requests - packaging-tests-windows-nojdk"
        # We use a hard-coded workspace directory here to avoid hitting windows path length limits
        child-workspace: "C:\\Users\\jenkins\\workspace\\pr-packaging-windows\\${BUILD_NUMBER}"
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 19:49:58 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  4. .ci/jobs.t/elastic+elasticsearch+periodic+thrid-party-tests-trigger.yml

    ---
    jjbb-template: periodic-trigger-lgc.yml
    vars:
      - periodic-job: elastic+elasticsearch+%BRANCH%+periodic+third-party-tests
      - lgc-job: elastic+elasticsearch+%BRANCH%+intake
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 06 21:46:09 GMT 2021
    - 199 bytes
    - Click Count (0)
  5. .ci/jobs.t/elastic+elasticsearch+pull-request+packaging-tests-unix.yml

    ---
    - job:
        name: "elastic+elasticsearch+pull-request+packaging-tests-unix"
        display-name: "elastic / elasticsearch - pull request packaging-tests-unix"
        description: "Testing of Elasticsearch pull requests - packaging-tests-unix"
        project-type: matrix
        node: master
        scm:
          - git:
              refspec: "+refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*"
              branches:
                - "${ghprbActualCommit}"
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Sep 14 17:35:45 GMT 2021
    - 2.2K bytes
    - Click Count (0)
  6. .ci/jobs.t/elastic+elasticsearch+pull-request+packaging-tests-windows-sample.yml

    ---
    - job:
        name: "elastic+elasticsearch+pull-request+packaging-tests-windows-sample"
        display-name: "elastic / elasticsearch - pull request packaging-tests-windows-sample"
        description: "Testing of Elasticsearch pull requests - packaging-tests-windows-sample"
        # We use a hard-coded workspace directory here to avoid hitting windows path length limits
        child-workspace: "C:\\Users\\jenkins\\workspace\\pr-packaging-windows\\${BUILD_NUMBER}"
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 18:50:27 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  7. .ci/jobs.t/elastic+elasticsearch+multijob+third-party-tests-azure-sas.yml

    ---
    - job:
        name: elastic+elasticsearch+%BRANCH%+multijob+third-party-tests-azure-sas
        workspace: /dev/shm/elastic+elasticsearch+%BRANCH%+multijob+third-party-tests-azure-sas
        display-name: "elastic / elasticsearch # %BRANCH% - third party tests azure - sas token"
        description: "Testing of the Elasticsearch %BRANCH% third party tests against Azure using SAS token\n"
        builders:
          - inject:
              properties-file: '.ci/java-versions.properties'
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 06 21:46:09 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  8. .github/workflows/tests.yml

        - name: go mod package cache
          uses: actions/cache@v4
          with:
            path: ~/go/pkg/mod
            key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('tests/go.mod') }}
    
        - name: Tests
          run: GITHUB_ACTION=true GORM_DIALECT=sqlite ./tests/tests_all.sh
    
      mysql:
        strategy:
          matrix:
            dbversion: ['mysql:9', 'mysql:8', 'mysql:5.7']
            go: ['stable', 'oldstable']
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Mar 23 10:05:06 GMT 2026
    - 9K bytes
    - Click Count (0)
  9. .ci/jobs.t/elastic+elasticsearch+pull-request+packaging-tests-windows-sample-nojdk.yml

    ---
    - job:
        name: "elastic+elasticsearch+pull-request+packaging-tests-windows-sample-nojdk"
        display-name: "elastic / elasticsearch - pull request packaging-tests-windows-sample-nojdk"
        description: "Testing of Elasticsearch pull requests - packaging-tests-windows-sample-nojdk"
        # We use a hard-coded workspace directory here to avoid hitting windows path length limits
        child-workspace: "C:\\Users\\jenkins\\workspace\\pr-packaging-windows\\${BUILD_NUMBER}"
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 19:49:58 GMT 2021
    - 2.2K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/advanced/async-tests.md

    # 非同步測試 { #async-tests }
    
    你已經看過如何使用提供的 `TestClient` 來測試你的 FastAPI 應用。到目前為止,你只看到如何撰寫同步測試,沒有使用 `async` 函式。
    
    在測試中能使用非同步函式會很有用,例如當你以非同步方式查詢資料庫時。想像你想測試發送請求到 FastAPI 應用,然後在使用非同步資料庫函式庫時,驗證後端是否成功把正確資料寫入資料庫。
    
    來看看怎麼做。
    
    ## pytest.mark.anyio { #pytest-mark-anyio }
    
    若要在測試中呼叫非同步函式,測試函式本身也必須是非同步的。AnyIO 為此提供了一個好用的外掛,讓我們可以標示某些測試函式以非同步方式執行。
    
    ## HTTPX { #httpx }
    
    即使你的 FastAPI 應用使用一般的 `def` 函式而非 `async def`,它在底層仍然是個 `async` 應用。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.5K bytes
    - Click Count (0)
Back to Top