Fix storage manager tests
This commit is contained in:
parent
5e08d56630
commit
1b7cdb9341
3
extern/sector-storage/sched_test.go
vendored
3
extern/sector-storage/sched_test.go
vendored
@ -290,6 +290,9 @@ func TestSched(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
testFunc := func(workers []workerSpec, tasks []task) func(t *testing.T) {
|
testFunc := func(workers []workerSpec, tasks []task) func(t *testing.T) {
|
||||||
|
ParallelNum = 1
|
||||||
|
ParallelDenom = 1
|
||||||
|
|
||||||
return func(t *testing.T) {
|
return func(t *testing.T) {
|
||||||
index := stores.NewIndex()
|
index := stores.NewIndex()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user