mirror of https://github.com/dtm-labs/dtm.git
2 changed files with 6 additions and 13 deletions
@ -1,13 +0,0 @@ |
|||
package test |
|||
|
|||
import ( |
|||
"github.com/stretchr/testify/assert" |
|||
"github.com/yedf/dtm/dtmcli/dtmimp" |
|||
"testing" |
|||
) |
|||
|
|||
func TestDtmMetrics(t *testing.T) { |
|||
rest, err := dtmimp.RestyClient.R().Get("http://localhost:36789/api/metrics") |
|||
assert.Nil(t, err) |
|||
assert.Equal(t, rest.StatusCode(), 200) |
|||
} |
|||
Loading…
Reference in new issue