Commit dcfcfc5e authored by Łukasz Magiera's avatar Łukasz Magiera

"fix" routing/mock tests on windows

License: MIT
Signed-off-by: default avatarŁukasz Magiera <magik6k@gmail.com>
parent 2b6641db
...@@ -6,9 +6,9 @@ import ( ...@@ -6,9 +6,9 @@ import (
"time" "time"
delay "github.com/ipfs/go-ipfs/thirdparty/delay" delay "github.com/ipfs/go-ipfs/thirdparty/delay"
"gx/ipfs/QmVvkK7s5imCiq3JVbL3pGfnhcCnf3LrFJPF4GE2sAoGZf/go-testutil"
u "gx/ipfs/QmNiJuT8Ja3hMVpBHXv3Q6dwmperaQ6JjLtpMQgMCD7xvx/go-ipfs-util" u "gx/ipfs/QmNiJuT8Ja3hMVpBHXv3Q6dwmperaQ6JjLtpMQgMCD7xvx/go-ipfs-util"
testutil "gx/ipfs/QmVvkK7s5imCiq3JVbL3pGfnhcCnf3LrFJPF4GE2sAoGZf/go-testutil"
pstore "gx/ipfs/QmXauCuJzmzapetmC6W4TuDJLL1yFFrVzSHoWv8YdbmnxH/go-libp2p-peerstore" pstore "gx/ipfs/QmXauCuJzmzapetmC6W4TuDJLL1yFFrVzSHoWv8YdbmnxH/go-libp2p-peerstore"
cid "gx/ipfs/QmcZfnkapfECQGcLZaf9B79NRg7cRa9EnZh4LSbkCzwNvY/go-cid" cid "gx/ipfs/QmcZfnkapfECQGcLZaf9B79NRg7cRa9EnZh4LSbkCzwNvY/go-cid"
) )
...@@ -164,6 +164,8 @@ func TestValidAfter(t *testing.T) { ...@@ -164,6 +164,8 @@ func TestValidAfter(t *testing.T) {
} }
conf.ValueVisibility.Set(0) conf.ValueVisibility.Set(0)
time.Sleep(100 * time.Millisecond)
providersChan = rs.Client(pi).FindProvidersAsync(ctx, key, max) providersChan = rs.Client(pi).FindProvidersAsync(ctx, key, max)
t.Log("providers", providers) t.Log("providers", providers)
for p := range providersChan { for p := range providersChan {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment