lint: add markdown linter (#5254)

This commit is contained in:
Marko
2020-08-17 16:40:50 +02:00
committed by GitHub
parent 022b255ed6
commit 42e4e8b58e
52 changed files with 515 additions and 415 deletions

View File

@@ -7,15 +7,15 @@ Running the integrations test will build a docker container with local version o
and run the following tests in docker containers:
- go tests, with --race
- includes test coverage
- includes test coverage
- app tests
- kvstore app over socket
- counter app over socket
- counter app over grpc
- kvstore app over socket
- counter app over socket
- counter app over grpc
- persistence tests
- crash tendermint at each of many predefined points, restart, and ensure it syncs properly with the app
- crash tendermint at each of many predefined points, restart, and ensure it syncs properly with the app
- p2p tests
- start a local kvstore app testnet on a docker network (requires docker version 1.10+)
- send a tx on each node and ensure the state root is updated on all of them
- crash and restart nodes one at a time and ensure they can sync back up (via fastsync)
- crash and restart all nodes at once and ensure they can sync back up
- start a local kvstore app testnet on a docker network (requires docker version 1.10+)
- send a tx on each node and ensure the state root is updated on all of them
- crash and restart nodes one at a time and ensure they can sync back up (via fastsync)
- crash and restart all nodes at once and ensure they can sync back up

View File

@@ -8,13 +8,13 @@ For consistency, we assume all commands are run from the Tendermint repository r
First, build the docker image:
```
```sh
docker build -t tendermint_tester -f ./test/docker/Dockerfile .
```
Now create the docker network:
```
```sh
docker network create --driver bridge --subnet 172.57.0.0/16 my_testnet
```
@@ -23,14 +23,14 @@ Peers on the network can have any IP address in this range.
For our four node network, let's pick `172.57.0.101 - 172.57.0.104`.
Since we use Tendermint's default listening port of 26656, our list of seed nodes will look like:
```
```sh
172.57.0.101:26656,172.57.0.102:26656,172.57.0.103:26656,172.57.0.104:26656
```
Now we can start up the peers. We already have config files setup in `test/p2p/data/`.
Let's use a for-loop to start our peers:
```
```sh
for i in $(seq 1 4); do
docker run -d \
--net=my_testnet\
@@ -46,7 +46,7 @@ If you now run `docker ps`, you'll see your containers!
We can confirm they are making blocks by checking the `/status` message using `curl` and `jq` to pretty print the output json:
```
```sh
curl 172.57.0.101:26657/status | jq .
```
@@ -63,4 +63,4 @@ IPv6 tests require a Docker daemon with IPv6 enabled, by setting the following i
In Docker for Mac, this is done via Preferences → Docker Engine.
Once set, run IPv6 tests via `make test_p2p_ipv6`.
Once set, run IPv6 tests via `make test_p2p_ipv6`.