mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Fix intermittent GPG Git test failure (#8968)
This commit is contained in:
		| @@ -79,8 +79,10 @@ func allowLFSFilters() []string { | ||||
| 	return globalArgs | ||||
| } | ||||
|  | ||||
| func onGiteaRun(t *testing.T, callback func(*testing.T, *url.URL)) { | ||||
| 	prepareTestEnv(t, 1) | ||||
| func onGiteaRun(t *testing.T, callback func(*testing.T, *url.URL), prepare ...bool) { | ||||
| 	if len(prepare) == 0 || prepare[0] { | ||||
| 		prepareTestEnv(t, 1) | ||||
| 	} | ||||
| 	s := http.Server{ | ||||
| 		Handler: mac, | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user