tcp mux and stuff
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m49s
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m49s
This commit is contained in:
@@ -32,4 +32,14 @@ func TestConnection(t *testing.T) {
|
||||
if len(allHosts) != 1 {
|
||||
t.Errorf("Expected 1 host, got %d", len(allHosts))
|
||||
}
|
||||
|
||||
data, err := pool.Get(ToCartId("kalle"))
|
||||
if err != nil {
|
||||
t.Errorf("Error getting data: %v", err)
|
||||
}
|
||||
if data == nil {
|
||||
t.Errorf("Expected data, got nil")
|
||||
}
|
||||
time.Sleep(2 * time.Millisecond)
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user