diff --git a/v2/internal/server/broadcast_test.go b/v2/internal/server/broadcast_test.go index d4b1fcd..033a2a0 100644 --- a/v2/internal/server/broadcast_test.go +++ b/v2/internal/server/broadcast_test.go @@ -25,6 +25,10 @@ func TestSubscribe(t *testing.T) { t.Fatal(err) } + // local test + // request, err := http.NewRequest("GET", "ws://localhost:8082/eventlogws", nil) + // wsURL := "ws://localhost:8082/eventlogws" + // Establish a connection with the WebSocket server conn, _, err := websocket.DefaultDialer.Dial(wsURL+"?id=cscv9ubrk77vgbjftu5g", request.Header) if err != nil {