diff options
author | Elad <theman@elad.im> | 2018-10-19 16:50:25 +0800 |
---|---|---|
committer | Viktor TrĂ³n <viktor.tron@gmail.com> | 2018-10-19 16:50:25 +0800 |
commit | aeb733623e79d9b8f03036ec1a4c0717185b527d (patch) | |
tree | 2c7d19e1f8513498ebb1de525bb48274e1f58dfb /swarm/network/stream/snapshot_sync_test.go | |
parent | 97fb08342d227bbd126516083b0ddaf74e6e8468 (diff) | |
download | go-tangerine-aeb733623e79d9b8f03036ec1a4c0717185b527d.tar go-tangerine-aeb733623e79d9b8f03036ec1a4c0717185b527d.tar.gz go-tangerine-aeb733623e79d9b8f03036ec1a4c0717185b527d.tar.bz2 go-tangerine-aeb733623e79d9b8f03036ec1a4c0717185b527d.tar.lz go-tangerine-aeb733623e79d9b8f03036ec1a4c0717185b527d.tar.xz go-tangerine-aeb733623e79d9b8f03036ec1a4c0717185b527d.tar.zst go-tangerine-aeb733623e79d9b8f03036ec1a4c0717185b527d.zip |
swarm/network: disallow historical retrieval requests (#17936)
Diffstat (limited to 'swarm/network/stream/snapshot_sync_test.go')
-rw-r--r-- | swarm/network/stream/snapshot_sync_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/swarm/network/stream/snapshot_sync_test.go b/swarm/network/stream/snapshot_sync_test.go index 96e92c5cf..8d89f28cb 100644 --- a/swarm/network/stream/snapshot_sync_test.go +++ b/swarm/network/stream/snapshot_sync_test.go @@ -310,7 +310,7 @@ func runSim(conf *synctestConfig, ctx context.Context, sim *simulation.Simulatio _, err = lstore.Get(ctx, chunk) } if err != nil { - log.Warn(fmt.Sprintf("Chunk %s NOT found for id %s", chunk, id)) + log.Debug(fmt.Sprintf("Chunk %s NOT found for id %s", chunk, id)) // Do not get crazy with logging the warn message time.Sleep(500 * time.Millisecond) continue REPEAT @@ -514,7 +514,7 @@ func testSyncingViaDirectSubscribe(t *testing.T, chunkCount int, nodeCount int) _, err = lstore.Get(ctx, chunk) } if err != nil { - log.Warn(fmt.Sprintf("Chunk %s NOT found for id %s", chunk, id)) + log.Debug(fmt.Sprintf("Chunk %s NOT found for id %s", chunk, id)) // Do not get crazy with logging the warn message time.Sleep(500 * time.Millisecond) continue REPEAT |