update dependencies, only run short tests in travis
This commit is contained in:
parent
f701b78160
commit
299f718f25
1 changed files with 11 additions and 0 deletions
|
@ -216,6 +216,17 @@ func TestRoutingTable_GetClosest(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
func TestRoutingTable_GetClosest_Empty(t *testing.T) {
|
||||
n1 := bits.FromShortHexP("1")
|
||||
rt := newRoutingTable(n1)
|
||||
|
||||
contacts := rt.GetClosest(bits.FromShortHexP("a"), 3)
|
||||
if len(contacts) != 0 {
|
||||
t.Error("there shouldn't be any contacts")
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
func TestRoutingTable_Refresh(t *testing.T) {
|
||||
t.Skip("TODO: test routing table refreshing")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue