MCPcopy
hub / github.com/cubefs/cubefs / setFail

Method setFail

blobstore/blobnode/worker_for_test.go:164–168  ·  view source on GitHub ↗
(vuid proto.Vuid, err error)

Source from the content-addressed store, hash-verified

162}
163
164func (getter *MockGetter) setFail(vuid proto.Vuid, err error) {
165 getter.mu.Lock()
166 defer getter.mu.Unlock()
167 getter.failVuid[vuid] = err
168}
169
170func (getter *MockGetter) setWell(vuid proto.Vuid) {
171 getter.mu.Lock()

Callers 9

testGetRepairShardsFunction · 0.80
TestMigrateGenTaskletsFunction · 0.80
TestDownloadFunction · 0.80
TestMemEnoughFunction · 0.80
testGetReplicasBidsFunction · 0.80
testMergeBidsFunction · 0.80
testGetBenchmarkBidsFunction · 0.80
testTaskInspectMgrDoFunction · 0.80

Calls 2

LockMethod · 0.80
UnlockMethod · 0.45

Tested by

no test coverage detected