neoneo-go/pkg
Anna Shaleva e5c919f701 rpcsrv: enforce WS connection close on test cleanup
Do not wait until wsReader routine gracefully finishes its work before
WS connection close. Instead, firstly close the connection, and after
that wait for proper wsReader exit.

It's a harsh way, but I don't have any other options to try, because
wsReader routine hangs on `ws.ReadMessage()` operation for more than
ReadDeadline (more than 5 seconds) during test cleanup which results in
the test timeout.

Close #3378.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2024-04-04 12:03:06 +03:00
..
compiler interop: add keccak256 implementation 2024-03-22 17:15:43 +03:00
config config: update validation with check committee 2024-01-22 10:25:23 +03:00
consensus consensus: use better dbFT 2024-03-25 19:21:51 +03:00
core Merge pull request #3371 from nspcc-dev/upd-dbft 2024-03-25 19:54:05 +03:00
crypto *: use v2 LRU, fix #3322 2024-03-05 18:39:17 +03:00
encoding *: drop go 1.18 support in doc and build targets 2023-10-12 17:59:42 +03:00
interop interop: add keccak256 implementation 2024-03-22 17:15:43 +03:00
io *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
neorpc rpcsrv: add SessionEnabled, MaxIteratorResultItems to getversion 2024-04-03 22:42:14 +03:00
neotest neotest: reuse wallet.Account for contract signers 2023-12-21 11:27:41 +03:00
network network: fix logging data race in the package 2024-03-20 13:12:14 +03:00
rpcclient rpcsrv: add SessionEnabled, MaxIteratorResultItems to getversion 2024-04-03 22:42:14 +03:00
services rpcsrv: enforce WS connection close on test cleanup 2024-04-04 12:03:06 +03:00
smartcontract go.mod: upgrade minimum required Go version to 1.20 2024-03-05 13:54:10 +03:00
util *: replace slice.Copy with bytes.Clone 2024-03-05 13:54:10 +03:00
vm *: improve error text for System.Crypto.CheckMultisig handling 2024-03-25 19:16:21 +03:00
wallet *: regenerate all wallets with adjusted parameters 2024-03-01 19:19:03 +03:00