continue rendezvous refactor for gossip and repair
* remove trailing whitespace in ci/audit.sh * code review fixups * rename GOSSIP_PORT_RANGE => SOLANA_PORT_RANGE * remove out-of-date TODO in localnet-sanity.sh * remove features=test and code that was using it (localhost prohibitions in crdt) added TODO in crdt.rs, maybe we should boot localhost in production networks? * boot tvu_window from NodeInfo: instead, send repair requests from the repair socket (to gossip on peer) and answer repair requests via the sockaddr from the repair request * remove various unused pub functions * banish SocketAddr parse().unwrap() to a macro that can also accept simpler stuff
This commit is contained in:
@@ -16,10 +16,10 @@ _() {
|
||||
|
||||
maybe_cargo_install() {
|
||||
for cmd in "$@"; do
|
||||
set +e
|
||||
set +e
|
||||
cargo "$cmd" --help > /dev/null 2>&1
|
||||
declare exitcode=$?
|
||||
set -e
|
||||
set -e
|
||||
if [[ $exitcode -eq 101 ]]; then
|
||||
_ cargo install cargo-"$cmd"
|
||||
fi
|
||||
@@ -29,4 +29,4 @@ maybe_cargo_install() {
|
||||
maybe_cargo_install audit tree
|
||||
|
||||
_ cargo tree
|
||||
_ cargo audit
|
||||
_ cargo audit || true
|
||||
|
@@ -61,7 +61,6 @@ flag_error() {
|
||||
exit 1
|
||||
}
|
||||
|
||||
# TODO: CI networking isn't working with gossip. we cant self discover the right interface/ip for the clients/wallets
|
||||
echo "--- Wallet sanity"
|
||||
(
|
||||
set -x
|
||||
|
@@ -42,4 +42,4 @@ if [[ $(sysctl -n net.core.wmem_max) -lt 1610612736 ]]; then
|
||||
fi
|
||||
|
||||
set -x
|
||||
exec cargo test --release --features=erasure,test test_multi_node_dynamic_network -- --ignored
|
||||
exec cargo test --release --features=erasure test_multi_node_dynamic_network -- --ignored
|
||||
|
@@ -11,7 +11,7 @@ _() {
|
||||
}
|
||||
|
||||
_ cargo build --verbose --features unstable
|
||||
_ cargo test --verbose --features=unstable,test
|
||||
_ cargo test --verbose --features=unstable
|
||||
_ cargo clippy -- --deny=warnings
|
||||
|
||||
exit 0
|
||||
@@ -28,4 +28,3 @@ if [[ -z "$CODECOV_TOKEN" ]]; then
|
||||
else
|
||||
bash <(curl -s https://codecov.io/bash) -x 'llvm-cov-6.0 gcov'
|
||||
fi
|
||||
|
||||
|
@@ -19,7 +19,7 @@ _() {
|
||||
"$@"
|
||||
}
|
||||
|
||||
_ cargo test --features=cuda,erasure,test
|
||||
_ cargo test --features=cuda,erasure
|
||||
|
||||
echo --- ci/localnet-sanity.sh
|
||||
(
|
||||
|
@@ -12,7 +12,7 @@ _() {
|
||||
|
||||
_ cargo fmt -- --check
|
||||
_ cargo build --verbose
|
||||
_ cargo test --features=test --verbose
|
||||
_ cargo test --verbose
|
||||
|
||||
echo --- ci/localnet-sanity.sh
|
||||
(
|
||||
|
Reference in New Issue
Block a user