neo-go/cli/app
Anna Shaleva eeb439f548 internal: avoid race access to config.Version by tests
Network server constructor reads config.Version variable, and
testcli.DeployContract writes dummy config.Version which causes
race in tests. Avoid this race by moving config.Version initialisation
to a separate package and perform it inside test packages init().

Close #3011, close #3017.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2023-10-10 11:59:53 +03:00
..
app.go cli: move tests to subpackages 2022-10-06 09:21:26 +03:00
main_test.go internal: avoid race access to config.Version by tests 2023-10-10 11:59:53 +03:00