[PR #12492] [MERGED] tests: improvements #12582

Closed
opened 2025-11-12 16:39:36 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12492
Author: @dhiltgen
Created: 10/3/2025
Status: Merged
Merged: 10/8/2025
Merged by: @dhiltgen

Base: mainHead: integration


📝 Commits (1)

📊 Changes

9 files changed (+195 additions, -90 deletions)

View changed files

📝 integration/basic_test.go (+41 -16)
📝 integration/concurrency_test.go (+6 -6)
📝 integration/context_test.go (+20 -10)
📝 integration/library_models_test.go (+12 -7)
📝 integration/llm_image_test.go (+19 -7)
📝 integration/model_arch_test.go (+20 -7)
📝 integration/model_perf_test.go (+12 -7)
📝 integration/quantization_test.go (+12 -7)
📝 integration/utils_test.go (+53 -23)

📄 Description

  • Largely switch to Chat API (unless the test is explicitly focused on Generate)
  • Tightens up a few flaky scenarios
  • Simplify local server lifecycle management

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/12492 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 10/3/2025 **Status:** ✅ Merged **Merged:** 10/8/2025 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `integration` --- ### 📝 Commits (1) - [`085284e`](https://github.com/ollama/ollama/commit/085284e6200629cffa877a3a09c6e97b57322b37) Integration test tuning ### 📊 Changes **9 files changed** (+195 additions, -90 deletions) <details> <summary>View changed files</summary> 📝 `integration/basic_test.go` (+41 -16) 📝 `integration/concurrency_test.go` (+6 -6) 📝 `integration/context_test.go` (+20 -10) 📝 `integration/library_models_test.go` (+12 -7) 📝 `integration/llm_image_test.go` (+19 -7) 📝 `integration/model_arch_test.go` (+20 -7) 📝 `integration/model_perf_test.go` (+12 -7) 📝 `integration/quantization_test.go` (+12 -7) 📝 `integration/utils_test.go` (+53 -23) </details> ### 📄 Description - Largely switch to Chat API (unless the test is explicitly focused on Generate) - Tightens up a few flaky scenarios - Simplify local server lifecycle management --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the
pull-request
label 2025-11-12 16:39:36 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama-ollama#12582
No description provided.