tcp mux and stuff
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m49s

This commit is contained in:
matst80
2024-11-10 16:40:52 +01:00
parent 547c32d4a7
commit 10d85350d0
6 changed files with 470 additions and 295 deletions

View File

@@ -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)
}