neo-go/pkg/services/rpcsrv
Ekaterina Pavlova f409fc36e2 rpcsrv: fix TestRPC failing
Default http.Client and http.Transport can be really slow. Also on
windows Timeout: time.Second was not enough. Probably network related
issue. As mentioned in https://github
.com/nspcc-dev/neo-go/issues/2975#issuecomment-1750523651 forcely use
only tcp4 and FallbackDelay: -1. This made TestRPC little bit faster so
gh windows runner can manage it without timeout or POST request fails.

Close #2975
Close #3314

Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-03-22 16:18:19 +03:00
..
params rpcsrv: support Map parameter in invokefunction RPC handler 2024-02-28 15:54:33 +03:00
testdata rpcclient: fix WS-client unsubscription process 2022-11-16 23:44:30 +03:00
client_test.go rpcsrv: properly close RPC clients in tests 2024-03-14 11:04:39 +03:00
error.go rpcsrv: remove default request HTTP codes from switch statement 2023-08-16 14:00:24 +01:00
local_test.go config: drop deprecated address/port configurations 2023-10-10 13:26:07 +03:00
prometheus.go rpcsrv: remove deprecated RPC counters 2023-03-18 10:52:24 +03:00
server.go rpcsrv: fix insufficient funds use 2024-03-18 20:37:39 +03:00
server_helper_test.go rpcsrv: add close of http server in tests 2024-03-06 01:17:59 +03:00
server_test.go rpcsrv: fix TestRPC failing 2024-03-22 16:18:19 +03:00
subscription.go neorpc: add WS notification filter IsValid functionality 2023-12-28 11:08:46 +03:00
subscription_test.go rpcsrv: fix TestRPC failing 2024-03-22 16:18:19 +03:00
tokens.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
util.go rpc/server: move to services/rpcsrv 2022-07-21 22:14:12 +03:00