update
This commit is contained in:
@@ -25,13 +25,7 @@ func TestConnection(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Errorf("Error adding remote: %v", err)
|
||||
}
|
||||
allHosts, err := pool.Negotiate([]string{"kalle", "pelle"})
|
||||
if err != nil {
|
||||
t.Errorf("Error negotiating: %v", err)
|
||||
}
|
||||
if len(allHosts) != 0 {
|
||||
t.Errorf("Expected 0 host, (host should be known) got %d", len(allHosts))
|
||||
}
|
||||
go pool.Negotiate()
|
||||
|
||||
data, err := pool.Get(ToCartId("kalle"))
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user