Fix intermittent GPG Git test failure (#8968)
This commit is contained in:
parent
b41f303ae0
commit
7b75603ffe
2 changed files with 209 additions and 126 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue