From 017cd558cbe658c1dd45984bdceecd42bee9a8e6 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Wed, 8 Jun 2022 22:57:48 +0300 Subject: [PATCH] core: move statesync tests into the statesync package --- pkg/core/{statesync_test.go => statesync/neotest_test.go} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename pkg/core/{statesync_test.go => statesync/neotest_test.go} (99%) diff --git a/pkg/core/statesync_test.go b/pkg/core/statesync/neotest_test.go similarity index 99% rename from pkg/core/statesync_test.go rename to pkg/core/statesync/neotest_test.go index 326c40a58..a9dea0cf9 100644 --- a/pkg/core/statesync_test.go +++ b/pkg/core/statesync/neotest_test.go @@ -1,4 +1,4 @@ -package core_test +package statesync_test import ( "testing" @@ -298,7 +298,7 @@ func TestStateSyncModule_RestoreBasicChain(t *testing.T) { bcSpout, validators, committee := chain.NewMultiWithCustomConfigAndStore(t, spoutCfg, bcSpoutStore, false) go bcSpout.Run() // Will close it manually at the end. 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) e.AddNewBlock(t)