mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-21 06:36:19 +00:00
test: remove P2P tests (#5453)
This commit is contained in:
committed by
Erik Grinaker
parent
0003aabe65
commit
4462e2697c
@@ -33,45 +33,6 @@ test_abci_cli:
|
||||
@ bash abci/tests/test_cli/test.sh
|
||||
.PHONY: test_abci_cli
|
||||
|
||||
test_persistence:
|
||||
# run the persistence tests using bash
|
||||
# requires `abci-cli` installed
|
||||
docker run --name run_persistence -t tester bash test/persist/test_failure_indices.sh
|
||||
|
||||
# TODO undockerize
|
||||
# bash test/persist/test_failure_indices.sh
|
||||
.PHONY: test_persistence
|
||||
|
||||
test_p2p:
|
||||
docker rm -f rsyslog || true
|
||||
rm -rf test/logs && mkdir -p test/logs
|
||||
docker run -d -v "$(CURDIR)/test/logs:/var/log/" -p 127.0.0.1:5514:514/udp --name rsyslog voxxit/rsyslog
|
||||
# requires 'tester' the image from above
|
||||
bash test/p2p/test.sh tester
|
||||
# the `docker cp` takes a really long time; uncomment for debugging
|
||||
#
|
||||
# mkdir -p test/p2p/logs && docker cp rsyslog:/var/log test/p2p/logs
|
||||
.PHONY: test_p2p
|
||||
|
||||
test_p2p_ipv6:
|
||||
# IPv6 tests require Docker daemon with IPv6 enabled, e.g. in daemon.json:
|
||||
#
|
||||
# {
|
||||
# "ipv6": true,
|
||||
# "fixed-cidr-v6": "2001:db8:1::/64"
|
||||
# }
|
||||
#
|
||||
# Docker for Mac can set this via Preferences -> Docker Engine.
|
||||
docker rm -f rsyslog || true
|
||||
rm -rf test/logs && mkdir -p test/logs
|
||||
docker run -d -v "$(CURDIR)/test/logs:/var/log/" -p 127.0.0.1:5514:514/udp --name rsyslog voxxit/rsyslog
|
||||
# requires 'tester' the image from above
|
||||
bash test/p2p/test.sh tester 6
|
||||
# the `docker cp` takes a really long time; uncomment for debugging
|
||||
#
|
||||
# mkdir -p test/p2p/logs && docker cp rsyslog:/var/log test/p2p/logs
|
||||
.PHONY: test_p2p_ipv6
|
||||
|
||||
test_integrations:
|
||||
make build_docker_test_image
|
||||
make tools
|
||||
@@ -81,10 +42,6 @@ test_integrations:
|
||||
make test_abci_apps
|
||||
make test_abci_cli
|
||||
make test_libs
|
||||
make test_persistence
|
||||
make test_p2p
|
||||
# Disabled by default since it requires Docker daemon with IPv6 enabled
|
||||
#make test_p2p_ipv6
|
||||
.PHONY: test_integrations
|
||||
|
||||
test_release:
|
||||
|
||||
Reference in New Issue
Block a user