We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41f1f49 commit 798332aCopy full SHA for 798332a
tests/integration/git_misc_test.go
@@ -28,7 +28,7 @@ import (
28
func TestDataAsyncDoubleRead_Issue29101(t *testing.T) {
29
// in this test, we will have two parallel readers reading the same blob
30
// So we need to ignore the temporary CatFileBranch checking to make the test pass
31
- defer test.MockVariableValue(&setting.DisableTempCatFileBatchCheck, true)
+ defer test.MockVariableValue(&setting.DisableTempCatFileBatchCheck, true)()
32
33
onGiteaRun(t, func(t *testing.T, u *url.URL) {
34
user := unittest.AssertExistsAndLoadBean(t, &user_model.User{ID: 2})
0 commit comments