neoneo-go/pkg/core
Roman Khimov efa8ae5be4 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:22:38 +03:00
..
block block/transaction: add network magic into the hash 2020-06-18 12:39:50 +03:00
blockchainer core: cache standby validators in the Blockchain 2020-06-24 10:22:17 +03:00
dao dao: combine GetNextContractID and PutNextContractID 2020-06-24 10:22:21 +03:00
interop core: calculate prices of Neo.Crypt.* opcodes correctly 2020-06-19 12:58:33 +03:00
mempool core: add policy check to mempool 2020-06-24 07:58:09 +03:00
native native: cache GetValidators result 2020-06-24 19:42:50 +03:00
state state: fix the way NEO balance is being serialized 2020-06-24 10:21:24 +03:00
storage core: provide monotonically increasing ID for contracts 2020-06-11 10:45:25 +03:00
test_data Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
transaction transaction: s/txid/hash/ for JSON to match C# implementation 2020-06-24 10:43:58 +03:00
blockchain.go core: cache standby validators in the Blockchain 2020-06-24 10:22:17 +03:00
blockchain_test.go core: fix TestSubscriptions occasional failures 2020-06-25 19:22:38 +03:00
doc.go core: add Blockchain event subscription mechanism 2020-05-25 00:27:39 +03:00
gas_price.go core: store precise gas price in interop descriptions 2020-06-15 12:02:28 +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: cache standby validators in the Blockchain 2020-06-24 10:22:17 +03:00
interop_neo.go dao: combine GetNextContractID and PutNextContractID 2020-06-24 10:22:21 +03:00
interop_neo_test.go core: store smartcontract items by id 2020-06-19 20:48:45 +03:00
interop_system.go core: fix Storage.Get to return Null when there is no value 2020-06-24 10:43:58 +03:00
interop_system_test.go core: implement System.Runtime.GetInvocationCounter syscall 2020-06-17 11:24:11 +03:00
interops.go core: fix Neo.Native.Deploy price 2020-06-19 12:58:33 +03:00
interops_test.go block/transaction: add network magic into the hash 2020-06-18 12:39:50 +03:00
native_contract_test.go core/tests: extend native contract test 2020-06-18 22:44:10 +03:00
native_policy_test.go core: add native policy contract 2020-06-24 07:35:07 +03:00
opcode_price.go core: add SystemFee and NetworkFee to transaction 2020-05-20 23:26:48 +03:00
prometheus.go core: refactor out MemPool 2020-01-16 10:16:24 +03:00
util.go core: cache standby validators in the Blockchain 2020-06-24 10:22:17 +03:00
util_test.go core: cache standby validators in the Blockchain 2020-06-24 10:22:17 +03:00