Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.

network/stream/v2: more resilient TestNodesExchangeCorrectBinIndexes#1760

Merged
janos merged 1 commit intomasterfrom
fix-flaky-cursors-test
Sep 17, 2019
Merged

network/stream/v2: more resilient TestNodesExchangeCorrectBinIndexes#1760
janos merged 1 commit intomasterfrom
fix-flaky-cursors-test

Conversation

@janos
Copy link
Copy Markdown
Member

@janos janos commented Sep 16, 2019

TestNodesExchangeCorrectBinIndexes test is using a simple sleep for synchronization. This is probably causing flakiness on Travis, as it is not reproducible locally. This PR adds the retry loop to the test.

fixes #1759

@janos janos requested review from acud, nonsense and zelig September 16, 2019 11:56
@janos janos self-assigned this Sep 16, 2019
@janos janos merged commit 5a391f8 into master Sep 17, 2019
@janos janos deleted the fix-flaky-cursors-test branch September 17, 2019 21:48
@skylenet skylenet added this to the 0.5.0 milestone Sep 18, 2019
chadsr added a commit to chadsr/swarm that referenced this pull request Sep 23, 2019
* 'master' of github.com:ethersphere/swarm: (32 commits)
  network/stream: refactor cursors tests (ethersphere#1786)
  network: Add capabilities if peer from store does not have it (ethersphere#1791)
  Swap logger (ethersphere#1754)
  network: Add capability filtered depth calculation (ethersphere#1787)
  travis: remove go1.12 job (ethersphere#1784)
  cmd/swarm: correct bzznetworkid flag description (ethersphere#1761)
  network, pss: Capability in pss (ethersphere#1764)
  network/stream: handle nil peer in TestNodesExchangeCorrectBinIndexes (ethersphere#1779)
  protocols, retrieval: swap-enabled messages implement Price (ethersphere#1771)
  cmd/swarm-smoke: fix waitToPushSynced connection closing (ethersphere#1781)
  cmd/swarm: simplify testCluster.StartNewNodes (ethersphere#1777)
  build: increase golangci-lint deadline (ethersphere#1778)
  docker: ignore build/bin when copying files (ethersphere#1780)
  swap: fix and rename Peer.getLastSentCumulativePayout (ethersphere#1769)
  network/stream: more resilient TestNodesCorrectBinsDynamic (ethersphere#1776)
  network: Add Capabilities to Kademlia database (ethersphere#1713)
  network: add own address to KademliaInfo (ethersphere#1775)
  pss: Refactor. Step 2. Refactor forward cache (ethersphere#1742)
  all: configurable payment/disconnect thresholds (ethersphere#1729)
  network/stream/v2: more resilient TestNodesExchangeCorrectBinIndexes (ethersphere#1760)
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stream TestNodesExchangeCorrectBinIndexes flay on Travis

4 participants