lib/model: Add option to disable fsync (#6588)
* lib/model: Add option to disable fsync * Fix test * Dont open stuff for no reason
This commit is contained in:
@@ -1031,7 +1031,7 @@ func TestPullCtxCancel(t *testing.T) {
|
||||
|
||||
emptyState := func() pullBlockState {
|
||||
return pullBlockState{
|
||||
sharedPullerState: newSharedPullerState(protocol.FileInfo{}, nil, f.folderID, "", nil, nil, false, false, protocol.FileInfo{}, false),
|
||||
sharedPullerState: newSharedPullerState(protocol.FileInfo{}, nil, f.folderID, "", nil, nil, false, false, protocol.FileInfo{}, false, false),
|
||||
block: protocol.BlockInfo{},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user