neoneo-go/pkg/core
Roman Khimov c489f975d4 core: fix TestSubscriptions occasional failures
panic: Log in goroutine after TestSubscriptions has completed

goroutine 1079 [running]:
testing.(*common).logDepth(0xc00057a100, 0xc00039e210, 0xa4, 0x3)
	/usr/local/go/src/testing/testing.go:634 +0x51a
testing.(*common).log(...)
	/usr/local/go/src/testing/testing.go:614
testing.(*common).Logf(0xc00057a100, 0xe32eaa, 0x2, 0xc0009560e0, 0x1, 0x1)
	/usr/local/go/src/testing/testing.go:649 +0x91
go.uber.org/zap/zaptest.testingWriter.Write(0xf64120, 0xc00057a100, 0x0, 0xc0003fe400, 0xa5, 0x400, 0xc000958e40, 0xc0009560d0, 0xc000958e60)
	/go/pkg/mod/go.uber.org/zap@v1.10.0/zaptest/logger.go:130 +0x120
go.uber.org/zap/zapcore.(*ioCore).Write(0xc0005cd050, 0x0, 0xbfb54ffc0626aba2, 0x916de700, 0x1485500, 0x0, 0x0, 0xe43fb0, 0x1c, 0x0, ...)
	/go/pkg/mod/go.uber.org/zap@v1.10.0/zapcore/core.go:90 +0x1c5
go.uber.org/zap/zapcore.(*CheckedEntry).Write(0xc000102d10, 0xc00039a000, 0x5, 0x5)
	/go/pkg/mod/go.uber.org/zap@v1.10.0/zapcore/entry.go:215 +0x1e8
go.uber.org/zap.(*Logger).Info(0xc00035eba0, 0xe43fb0, 0x1c, 0xc00039a000, 0x5, 0x5)
	/go/pkg/mod/go.uber.org/zap@v1.10.0/logger.go:187 +0x96
github.com/nspcc-dev/neo-go/pkg/core.(*Blockchain).persist(0xc00000cb40, 0xc00017c2c0, 0xbe8a00)
	/go/src/github.com/nspcc-dev/neo-go/pkg/core/blockchain.go:839 +0x6c9
github.com/nspcc-dev/neo-go/pkg/core.(*Blockchain).Run.func2(0xc00000cb40, 0xc0005c6c30)
	/go/src/github.com/nspcc-dev/neo-go/pkg/core/blockchain.go:302 +0x54
created by github.com/nspcc-dev/neo-go/pkg/core.(*Blockchain).Run
	/go/src/github.com/nspcc-dev/neo-go/pkg/core/blockchain.go:301 +0x25d
FAIL	github.com/nspcc-dev/neo-go/pkg/core	2.463s
2020-06-25 19:41:17 +03:00
..
block rpc/block: rework the way Block is JSONized 2020-05-14 17:28:14 +03:00
cache network: process state roots properly 2020-06-08 17:31:59 +03:00
dao core,dao: use MPT only if it is enabled in config 2020-06-24 16:13:27 +03:00
mempool mempool: gofmt -s 2020-03-17 16:47:51 +03:00
mpt mpt: fix extension node cache invalidation 2020-06-04 17:16:32 +03:00
state state: implement JSON marshaling for MPT* items 2020-06-03 18:09:28 +03:00
storage mpt: implement MPT trie 2020-06-01 18:14:19 +03:00
test_data Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
transaction transaction: gofmt -s 2020-05-30 15:48:57 +03:00
blockchain.go core,dao: use MPT only if it is enabled in config 2020-06-24 16:13:27 +03:00
blockchain_test.go core: fix TestSubscriptions occasional failures 2020-06-25 19:41:17 +03:00
blockchainer.go core: extend Blockchainer interface with StateHeight() 2020-06-22 10:53:13 +03:00
doc.go core: add Blockchain event subscription mechanism 2020-05-12 17:41:15 +03:00
gas_price.go cli: make gas parameter to deployment add gas to the base price 2020-03-11 20:34:36 +03:00
gas_price_test.go core: make SpawnVM a method of context 2020-04-08 08:38:45 +03:00
header_hash_list.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
helper_test.go core: ensure we produce correct blocks for tests 2020-05-07 21:46:28 +03:00
interop_neo.go core: fix key recovery interops return value 2020-06-10 19:20:57 +03:00
interop_neo_test.go core: fix key recovery interops return value 2020-06-10 19:20:57 +03:00
interop_system.go dao: restrict GetStorageItems by prefix 2020-05-27 11:40:46 +03:00
interops.go core: provide key recovery interops only if neox is enabled 2020-06-24 12:37:27 +03:00
interops_test.go core: move DAO to a separate package 2020-04-08 08:38:44 +03:00
prometheus.go core: add state height to prometheus metrics 2020-06-24 14:47:08 +03:00
spent_coin.go core: move (un)SpentCoin structs into the state package 2020-03-11 12:22:52 +03:00
storage_find.go vm: make Iterator interface public 2020-05-27 11:40:46 +03:00
util.go config: move config.go out of config/ 2020-03-31 17:55:59 +03:00
util_test.go config: move config.go out of config/ 2020-03-31 17:55:59 +03:00