core: move statesync tests into the statesync package
This commit is contained in:
parent
ff75e67610
commit
017cd558cb
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
package core_test
|
package statesync_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
@ -298,7 +298,7 @@ func TestStateSyncModule_RestoreBasicChain(t *testing.T) {
|
||||||
bcSpout, validators, committee := chain.NewMultiWithCustomConfigAndStore(t, spoutCfg, bcSpoutStore, false)
|
bcSpout, validators, committee := chain.NewMultiWithCustomConfigAndStore(t, spoutCfg, bcSpoutStore, false)
|
||||||
go bcSpout.Run() // Will close it manually at the end.
|
go bcSpout.Run() // Will close it manually at the end.
|
||||||
e := neotest.NewExecutor(t, bcSpout, validators, committee)
|
e := neotest.NewExecutor(t, bcSpout, validators, committee)
|
||||||
basicchain.Init(t, "../../", e)
|
basicchain.Init(t, "../../../", e)
|
||||||
|
|
||||||
// make spout chain higher that latest state sync point (add several blocks up to stateSyncPoint+2)
|
// make spout chain higher that latest state sync point (add several blocks up to stateSyncPoint+2)
|
||||||
e.AddNewBlock(t)
|
e.AddNewBlock(t)
|
Loading…
Reference in a new issue