good morning!!!!

Skip to content
Snippets Groups Projects
  1. Jun 04, 2019
  2. May 31, 2019
  3. May 28, 2019
  4. May 17, 2019
  5. May 16, 2019
  6. May 15, 2019
  7. May 13, 2019
  8. May 11, 2019
  9. May 10, 2019
  10. Apr 25, 2019
    • Janoš Guljaš's avatar
      swarm/network: fix data races in TestInitialPeersMsg test (#19490) · 3873a731
      Janoš Guljaš authored
      * swarm/network: fix data races in TestInitialPeersMsg test
      
      * swarm/network: add Kademlia.Saturation method with lock
      
      * swarm/network: add Hive.Peer method to safely retrieve a bzz peer
      
      * swarm/network: remove duplicate comment
      
      * p2p/testing: prevent goroutine leak in ProtocolTester
      
      * swarm/network: fix data race in newBzzBaseTesterWithAddrs
      
      * swarm/network: fix goroutone leaks in testInitialPeersMsg
      
      * swarm/network: raise number of peer check attempts in testInitialPeersMsg
      
      * swarm/network: use Hive.Peer in Hive.PeerInfo function
      
      * swarm/network: reduce the scope of mutex lock in newBzzBaseTesterWithAddrs
      
      * swarm/storage: disable TestCleanIndex with race detector
      3873a731
  11. Apr 19, 2019
  12. Apr 17, 2019
  13. Apr 16, 2019
  14. Apr 11, 2019
    • Ferenc Szabo's avatar
      cmd/swarm: fix resource leaks in tests (#19443) · 26b50e3e
      Ferenc Szabo authored
      * swarm/api: fix file descriptor leak in NewTestSwarmServer
      
      Swarm storage (localstore) was not closed. That resulted a
      "too many open files" error if `TestClientUploadDownloadRawEncrypted`
      was run with `-count 1000`.
      
      * cmd/swarm: speed up StartNewNodes() by parallelization
      
      Reduce cluster startup time from 13s to 7s.
      
      * swarm/api: disable flaky TestClientUploadDownloadRawEncrypted with -race
      
      * swarm/storage: disable flaky TestLDBStoreCollectGarbage (-race)
      
      With race detection turned on the disabled cases often fail with:
      "ldbstore_test.go:535: expected surplus chunk 150 to be missing, but got no error"
      
      * cmd/swarm: fix process leak in TestACT and TestSwarmUp
      
      Each test run we start 3 nodes, but we did not terminate them. So
      those 3 nodes continued eating up 1.2GB (3.4GB with -race) after test
      completion.
      
      6b6c4d1c changed how we start clusters
      to speed up tests. The changeset merged together test cases
      and introduced a global cluster. But "forgot" about termination.
      
      Let's get rid of "global cluster" so we have a clear owner of
      termination (some time sacrifice), while leaving subtests to use the
      same cluster.
      26b50e3e
  15. Apr 10, 2019
  16. Apr 09, 2019
  17. Apr 08, 2019
  18. Apr 02, 2019
    • Viktor Trón's avatar
      swarm/network: hive bug: needed shallow peers are not sent to nodes beyond... · 05290150
      Viktor Trón authored
      swarm/network:   hive bug: needed shallow peers are not sent to nodes beyond connection's proximity order (#19326)
      
      * swarm/network: fix hive bug not sending shallow peers
      
      -  hive bug: needed shallow peers were not sent to nodes beyond connection's proximity order
      - add extensive protocol exchange tests for initial subPeersMsg-peersMsg exchange
      - modify bzzProtocolTester to allow pregenerated overlay addresses
      
      * swarm/network: attempt to fix hive persistance test
      
      * swarm/network: fix TestHiveStatePersistance (#1320)
      
      * swarm/network: remove trace lines from the hive persistance test
      
      * address PR review comments
      
      * swarm/network: address PR comments on TestInitialPeersMsg
      
       * eliminate *testing.T argument from bzz/hive protocoltesters
       * add sorting (only runs in test code) on peersMsg payload
       * add random (0 to MaxPeersPerPO) peers for each po
       * add extra peers closer to pivot than control
      05290150
  19. Mar 22, 2019
    • Louis Holbrook's avatar
      swarm/network: Use different privatekey for bzz overlay in sim (#19313) · 2f5b6cb4
      Louis Holbrook authored
      * cmd/swarm, p2p, swarm: Enable ENR in binary/execadapter
      
      * cmd/p2p/swarm: Remove comments + config.Enode nomarshal
      
      * p2p/simulations: Remove superfluous error check
      
      * p2p/simulation: Move init enode comment
      
      * swarm, p2p/simulations, cmd/swarm: Use nodekey in binary record sign
      
      * swarm/network, swarm/pss: Dervice bzzkey
      
      * swarm/pss: Remove unused function
      
      * swarm/network: Store swarm private key in simulation bucket
      
      * swarm/pss: Shorten TextProxNetwork shortrunning test timeout
      
      * swarm/pss: Increase prox test timeout
      
      * swarm/pss: Increase timeout slightly on shortrunning proxtest
      
      * swarm/network: Simplify bucket instantiation in servicectx func
      
      * p2p/simulations: Tcpport -> udpport
      
      * swarm/network, swarm/pss: Simplify + correct lock in servicefunc sim
      
      * swarm/network: Cleanup after rebase on extract swarm enode new
      
      * p2p/simulations, swarm/network: Make exec disc test pass
      
      * swarm/network: Prune ye olde comment
      
      * swarm/pss: Correct revised bzzkey method call
      
      * swarm/network: Clarify comment about privatekey generation data
      
      * swarm/pss: Fix syntax errors after rebase
      
      * swarm/network: Rename misleadingly named method
      
      (amend commit to trigger ci - attempt 5)
      2f5b6cb4
    • gluk256's avatar
      p2p/simulations: wait until all connections are recreated when uploading snapshot (#19312) · 8d041546
      gluk256 authored
      * swarm/network/simulation: test cases refactored
      
      * swarm/pss: minor refactoring
      
      * swarm/simulation: UploadSnapshot updated
      
      * swarm/network: style fix
      
      * swarm/pss: bugfix
      8d041546
    • Louis Holbrook's avatar
      cmd/swarm, p2p, swarm: Enable ENR in binary/execadapter (#19309) · 09924cbc
      Louis Holbrook authored
      * cmd/swarm, p2p, swarm: Enable ENR in binary/execadapter
      
      * cmd/p2p/swarm: Remove comments + config.Enode nomarshal
      
      * p2p/simulations: Remove superfluous error check
      
      * p2p/simulation: Move init enode comment
      
      * swarm/api: Check error in config test
      
      * swarm, p2p/simulations, cmd/swarm: Use nodekey in binary record sign
      
      * cmd/swarm: Make nodekey available for swarm api config
      09924cbc
  20. Mar 20, 2019
Loading