Skip to content

Commit 798332a

Browse files
committed
Fix test
1 parent 41f1f49 commit 798332a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/git_misc_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
func TestDataAsyncDoubleRead_Issue29101(t *testing.T) {
2929
// in this test, we will have two parallel readers reading the same blob
3030
// So we need to ignore the temporary CatFileBranch checking to make the test pass
31-
defer test.MockVariableValue(&setting.DisableTempCatFileBatchCheck, true)
31+
defer test.MockVariableValue(&setting.DisableTempCatFileBatchCheck, true)()
3232

3333
onGiteaRun(t, func(t *testing.T, u *url.URL) {
3434
user := unittest.AssertExistsAndLoadBean(t, &user_model.User{ID: 2})

0 commit comments

Comments
 (0)