mirror of https://github.com/statping/statping
api tests
parent
e27b8de55e
commit
6da15a570a
|
@ -246,9 +246,11 @@ func TestMainApiRoutes(t *testing.T) {
|
||||||
AfterTest: UnsetTestENV,
|
AfterTest: UnsetTestENV,
|
||||||
ExpectedStatus: 200,
|
ExpectedStatus: 200,
|
||||||
ExpectedContains: []string{
|
ExpectedContains: []string{
|
||||||
`Statping Totals`,
|
`go_goroutines`,
|
||||||
`total_failures`,
|
`go_memstats_alloc_bytes`,
|
||||||
`Golang Metrics`,
|
`http_duration_seconds_count`,
|
||||||
|
`http_response_bytes_count`,
|
||||||
|
`service_request_duration_count`,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue