File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ import (
1515 record "github.com/libp2p/go-libp2p-record"
1616 swarmt "github.com/libp2p/go-libp2p-swarm/testing"
1717 bhost "github.com/libp2p/go-libp2p/p2p/host/basic"
18+
19+ dhtrouting "github.com/libp2p/go-libp2p-kad-dht/routing"
1820)
1921
2022var wancid , lancid cid.Cid
@@ -263,7 +265,7 @@ func TestSearchValue(t *testing.T) {
263265
264266 _ = wan .PutValue (ctx , "/v/hello" , []byte ("valid" ))
265267
266- valCh , err := d .SearchValue (ctx , "/v/hello" , dht .Quorum (0 ))
268+ valCh , err := d .SearchValue (ctx , "/v/hello" , dhtrouting .Quorum (0 ))
267269 if err != nil {
268270 t .Fatal (err )
269271 }
@@ -291,7 +293,7 @@ func TestSearchValue(t *testing.T) {
291293 t .Error (err )
292294 }
293295
294- valCh , err = d .SearchValue (ctx , "/v/hello" , dht .Quorum (0 ))
296+ valCh , err = d .SearchValue (ctx , "/v/hello" , dhtrouting .Quorum (0 ))
295297 if err != nil {
296298 t .Fatal (err )
297299 }
You can’t perform that action at this time.
0 commit comments