[PR #13134] test: fix data race in unit tests #39959

Open
opened 2026-04-23 00:58:06 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13134
Author: @dhiltgen
Created: 11/18/2025
Status: 🔄 Open

Base: mainHead: test_race


📝 Commits (1)

  • 09dd144 test: fix data race in unit tests

📊 Changes

2 files changed (+33 additions, -15 deletions)

View changed files

📝 server/quantization_test.go (+4 -0)
📝 server/sched_test.go (+29 -15)

📄 Description

'go test -race ./server' now passes

Fixes #12963


🔄 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/13134 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 11/18/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `test_race` --- ### 📝 Commits (1) - [`09dd144`](https://github.com/ollama/ollama/commit/09dd14464ce1251aded7986cd02113e621099c94) test: fix data race in unit tests ### 📊 Changes **2 files changed** (+33 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `server/quantization_test.go` (+4 -0) 📝 `server/sched_test.go` (+29 -15) </details> ### 📄 Description 'go test -race ./server' now passes Fixes #12963 --- <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 2026-04-23 00:58:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#39959