The main benefit of this change is to print the node logs when no blocks are produced. For that, because the nodes are running in a docker container, the docker API logs is requested.
Also:
call t.Run() appropriately: some calls were irrelevant, like when they are used to execute a command which is a part of a test case.
rename test cases appropriately
print a hint "is the docker image up-to-date?" when the node don't produce block, because most of the time it is the reason.
increase speed by removing some sleeps and reducing the Eventually tick parameter
improve http request error handling by checking the response status, and eventually retry if the status is "Service Unavailable"
add test on gov param change
update /atomone.gov.v1.Params query so it doesn't return an error if paramType is not provided (see 945497f)
The main benefit of this change is to print the node logs when no blocks are produced. For that, because the nodes are running in a docker container, the docker API logs is requested.
Also:
t.Run()
appropriately: some calls were irrelevant, like when they are used to execute a command which is a part of a test case.Eventually
tick parameter/atomone.gov.v1.Params
query so it doesn't return an error if paramType is not provided (see 945497f)