[PR #3347] [MERGED] Remove hardcoded paths to fix randomly failing tests #16900

Closed
opened 2025-11-02 12:21:42 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3347
Author: @lafriks
Created: 1/10/2018
Status: Merged
Merged: 1/10/2018
Merged by: @bkcsoft

Base: masterHead: fix/random_failing_tests


📝 Commits (2)

  • b93ac04 Remove hardcoded paths to fix randomly failing tests
  • 31eff33 Use correct function for merge path

📊 Changes

8 files changed (+19 additions, -3 deletions)

View changed files

📝 integrations/integration_test.go (+1 -0)
📝 integrations/mysql.ini.tmpl (+1 -0)
📝 integrations/pgsql.ini.tmpl (+1 -0)
📝 integrations/sqlite.ini (+2 -0)
📝 models/pull.go (+1 -1)
📝 models/wiki.go (+9 -1)
📝 models/wiki_test.go (+1 -1)
📝 modules/setting/setting.go (+3 -0)

📄 Description

  • Adds option for LOCAL_WIKI_PATH so that it would not be hardcoded
  • Reuse local repository path when merging

🔄 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/go-gitea/gitea/pull/3347 **Author:** [@lafriks](https://github.com/lafriks) **Created:** 1/10/2018 **Status:** ✅ Merged **Merged:** 1/10/2018 **Merged by:** [@bkcsoft](https://github.com/bkcsoft) **Base:** `master` ← **Head:** `fix/random_failing_tests` --- ### 📝 Commits (2) - [`b93ac04`](https://github.com/go-gitea/gitea/commit/b93ac0471ac87cf1aa9fd68c38ff8cc4e249a67d) Remove hardcoded paths to fix randomly failing tests - [`31eff33`](https://github.com/go-gitea/gitea/commit/31eff33ac5d11bbc43e26299cb65750f54663322) Use correct function for merge path ### 📊 Changes **8 files changed** (+19 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `integrations/integration_test.go` (+1 -0) 📝 `integrations/mysql.ini.tmpl` (+1 -0) 📝 `integrations/pgsql.ini.tmpl` (+1 -0) 📝 `integrations/sqlite.ini` (+2 -0) 📝 `models/pull.go` (+1 -1) 📝 `models/wiki.go` (+9 -1) 📝 `models/wiki_test.go` (+1 -1) 📝 `modules/setting/setting.go` (+3 -0) </details> ### 📄 Description * Adds option for `LOCAL_WIKI_PATH` so that it would not be hardcoded * Reuse local repository path when merging --- <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-02 12:21:42 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16900