Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: use TCP node for daily sync test #3464

Merged
merged 5 commits into from
Oct 21, 2021

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Oct 17, 2021

Description

  • uses TCP node (london) for sync tests
  • --force-sync-peers option now takes the pubkey/address of the peer
    rather than a seed peer index
  • Bypass tor for TCP in sync test
  • Display sync peer in status line for header sync
  • cleanup peer seeds and force sync peer JS array usage
  • make peer seeds optional (default to empty Vec) without having to specify a default for every network
  • fix When a new node joins the network, it should receive all peers cucumber

Motivation and Context

The primary goal of the daily sync test is to provide visibility into the performance of the sync protocol.
Directly connecting to the same TCP node, bypassing the tor network, the network performance under which the sync protocol runs is more consistent.

How Has This Been Tested?

Run locally

@sdbondi sdbondi changed the title tests: use TCP node for daily sync test test: use TCP node for daily sync test Oct 17, 2021
@sdbondi sdbondi force-pushed the dailies-use-tcp-bypass branch 3 times, most recently from 5375dc4 to 3d1cb57 Compare October 18, 2021 05:53
stringhandler
stringhandler previously approved these changes Oct 18, 2021
@sdbondi sdbondi marked this pull request as draft October 18, 2021 09:56
@sdbondi
Copy link
Member Author

sdbondi commented Oct 18, 2021

Just noticed that many cucumber tests failed, probably something in this PR - will check it out

@sdbondi sdbondi force-pushed the dailies-use-tcp-bypass branch 2 times, most recently from cd33ba1 to 12d93c3 Compare October 18, 2021 10:15
@sdbondi sdbondi force-pushed the dailies-use-tcp-bypass branch 2 times, most recently from 79b3bd2 to b8d7265 Compare October 18, 2021 12:46
@sdbondi sdbondi marked this pull request as ready for review October 18, 2021 12:46
- uses TCP node (london) for sync tests
- `--force-sync-peers` option now takes the pubkey/address of the peer
  rather than a seed peer index
- Bypass tor for TCP in sync test
@sdbondi sdbondi force-pushed the dailies-use-tcp-bypass branch from b8d7265 to 19e8b83 Compare October 18, 2021 12:47
@sdbondi
Copy link
Member Author

sdbondi commented Oct 21, 2021

All cucumbers pass now - fixed this one in last commit
image

@aviator-app aviator-app bot merged commit a72f42f into tari-project:development Oct 21, 2021
sdbondi added a commit to sdbondi/tari that referenced this pull request Oct 21, 2021
…ct-chain-metadata

* development:
  fix: fix recovery test reporting message (tari-project#3479)
  chore: improve cucumber tests to wait for broadcast (tari-project#3461)
  test: use TCP node for daily sync test (tari-project#3464)
@sdbondi sdbondi deleted the dailies-use-tcp-bypass branch October 23, 2021 11:24
sdbondi added a commit to sdbondi/tari that referenced this pull request Oct 25, 2021
* development: (31 commits)
  feat!: revalidate all outputs (tari-project#3471)
  fix: check SAF message inflight and check stored_at is in past (tari-project#3444)
  feat!: apps should not depend on other app configs (tari-project#3469)
  fix: fix recovery test reporting message (tari-project#3479)
  chore: improve cucumber tests to wait for broadcast (tari-project#3461)
  test: use TCP node for daily sync test (tari-project#3464)
  fix: remove unbounded vec allocations from base node grpc/p2p messaging (tari-project#3467)
  fix: upgrade rustyline dependencies (tari-project#3476)
  fix(dht): discard encrypted message with no destination (tari-project#3472)
  fix: remove consensus breaking change in transaction input (tari-project#3474)
  feat: tx weight takes tariscript and output features into account [igor] (tari-project#3411)
  fix: validate dht header before dedup cache (tari-project#3468)
  fix: sha256sum isn't available on all *nix platforms (tari-project#3466)
  fix: typo in console wallet (tari-project#3465)
  fix: ensure that accumulated orphan chain data is committed before header validation (tari-project#3462)
  fix: remove is_synced check for transaction validation (tari-project#3459)
  feat: improve logging for tari_mining_node (tari-project#3449)
  fix: remove unnecessary wallet dependency (tari-project#3438)
  test: simplify cucumber tests (tari-project#3457)
  ci: create script to update DNS records from hashes.txt (tari-project#3458)
  ...
@sdbondi sdbondi restored the dailies-use-tcp-bypass branch February 3, 2022 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants