mirror of https://github.com/dapr/go-sdk.git
test formatting cleanup
This commit is contained in:
parent
515c5218fb
commit
3349abcc39
8
Makefile
8
Makefile
|
@ -15,13 +15,13 @@ test: mod ## Tests the entire project
|
||||||
service: mod ## Runs the uncompiled example service code
|
service: mod ## Runs the uncompiled example service code
|
||||||
dapr run --app-id serving \
|
dapr run --app-id serving \
|
||||||
--protocol grpc \
|
--protocol grpc \
|
||||||
--app-port 50001 \
|
--app-port 50001 \
|
||||||
go run example/serving/main.go
|
go run example/serving/main.go
|
||||||
|
|
||||||
client: mod ## Runs the uncompiled example client code
|
client: mod ## Runs the uncompiled example client code
|
||||||
dapr run --app-id caller \
|
dapr run --app-id caller \
|
||||||
--components-path example/client/comp \
|
--components-path example/client/comp \
|
||||||
go run example/client/main.go
|
go run example/client/main.go
|
||||||
|
|
||||||
lint: ## Lints the entire project
|
lint: ## Lints the entire project
|
||||||
golangci-lint run --timeout=3m
|
golangci-lint run --timeout=3m
|
||||||
|
|
|
@ -54,9 +54,9 @@ func getTestClient(ctx context.Context, t *testing.T) (client Client, closer fun
|
||||||
return l.Dial()
|
return l.Dial()
|
||||||
})
|
})
|
||||||
|
|
||||||
c, err := grpc.DialContext(ctx, "bufnet", d, grpc.WithInsecure())
|
c, err := grpc.DialContext(ctx, "", d, grpc.WithInsecure())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("failed to dial bufnet: %v", err)
|
t.Fatalf("failed to dial test context: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
closer = func() {
|
closer = func() {
|
||||||
|
|
Loading…
Reference in New Issue