add workflows
Some checks failed
test / test (push) Failing after 11m9s

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2024-12-12 09:41:37 +03:00
parent f8cffe1081
commit def343f521
20 changed files with 176 additions and 337 deletions

View File

@@ -55,7 +55,7 @@ func startServer(ctx context.Context) {
fmt.Printf("wait for ctx.Done\n")
<-ctx.Done()
fmt.Printf("wait for Stop\n")
svc.Stop(ctx)
svc.Stop()
fmt.Printf("Stopped\n")
}()
@@ -69,7 +69,7 @@ func TestClient() {
defer cancel()
log.Printf("create grpc conn\n")
conn, _ := grpc.Dial("localhost:1234", grpc.WithInsecure(), grpc.WithBlock())
conn, _ := grpc.NewClient("localhost:1234", grpc.WithInsecure(), grpc.WithBlock())
defer conn.Close()
cli := NewTestServiceClient(conn)