test formatting cleanup

This commit is contained in:
Mark Chmarny 2020-06-22 08:17:21 -07:00
parent 515c5218fb
commit 3349abcc39
2 changed files with 6 additions and 6 deletions

View File

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

View File

@ -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() {