Skip to content

Commit

Permalink
Merge pull request ipfs#116 from libp2p/nit/quiet-tests
Browse files Browse the repository at this point in the history
nit: be less noisy when testing
  • Loading branch information
Stebalien authored Feb 11, 2018
2 parents 311274c + 1134fa1 commit 9792ab1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dht_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func TestValueGetSet(t *testing.T) {

connect(t, ctx, dhtA, dhtB)

log.Error("adding value on: ", dhtA.self)
log.Debug("adding value on: ", dhtA.self)
ctxT, cancel := context.WithTimeout(ctx, time.Second)
defer cancel()
err := dhtA.PutValue(ctxT, "/v/hello", []byte("world"))
Expand All @@ -174,7 +174,7 @@ func TestValueGetSet(t *testing.T) {
}
*/

log.Error("requesting value on dht: ", dhtB.self)
log.Debug("requesting value on dht: ", dhtB.self)
ctxT, cancel = context.WithTimeout(ctx, time.Second*2)
defer cancel()
valb, err := dhtB.GetValue(ctxT, "/v/hello")
Expand Down

0 comments on commit 9792ab1

Please sign in to comment.