Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
dcfcfc5e
Commit
dcfcfc5e
authored
Jan 31, 2018
by
Łukasz Magiera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"fix" routing/mock tests on windows
License: MIT Signed-off-by:
Łukasz Magiera
<
magik6k@gmail.com
>
parent
2b6641db
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
routing/mock/centralized_test.go
routing/mock/centralized_test.go
+3
-1
No files found.
routing/mock/centralized_test.go
View file @
dcfcfc5e
...
...
@@ -6,9 +6,9 @@ import (
"time"
delay
"github.com/ipfs/go-ipfs/thirdparty/delay"
"gx/ipfs/QmVvkK7s5imCiq3JVbL3pGfnhcCnf3LrFJPF4GE2sAoGZf/go-testutil"
u
"gx/ipfs/QmNiJuT8Ja3hMVpBHXv3Q6dwmperaQ6JjLtpMQgMCD7xvx/go-ipfs-util"
testutil
"gx/ipfs/QmVvkK7s5imCiq3JVbL3pGfnhcCnf3LrFJPF4GE2sAoGZf/go-testutil"
pstore
"gx/ipfs/QmXauCuJzmzapetmC6W4TuDJLL1yFFrVzSHoWv8YdbmnxH/go-libp2p-peerstore"
cid
"gx/ipfs/QmcZfnkapfECQGcLZaf9B79NRg7cRa9EnZh4LSbkCzwNvY/go-cid"
)
...
...
@@ -164,6 +164,8 @@ func TestValidAfter(t *testing.T) {
}
conf
.
ValueVisibility
.
Set
(
0
)
time
.
Sleep
(
100
*
time
.
Millisecond
)
providersChan
=
rs
.
Client
(
pi
)
.
FindProvidersAsync
(
ctx
,
key
,
max
)
t
.
Log
(
"providers"
,
providers
)
for
p
:=
range
providersChan
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment