health_test.go 204 B

1234567891011121314
  1. package test
  2. import (
  3. "git.sxidc.com/service-supports/dapr_api"
  4. "testing"
  5. "time"
  6. )
  7. func TestHealth(t *testing.T) {
  8. err := dapr_api.Health(10080, 10*time.Second)
  9. if err != nil {
  10. t.Fatal(err)
  11. }
  12. }