File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1500,7 +1500,7 @@ def test_start_endpoint(mocker):
15001500
15011501 for mock_method in mock_start_methods :
15021502 mock_method .assert_called_once ()
1503- assert endpoint .status == endpoint .StatusChoices .RUNNING
1503+ assert endpoint .status == endpoint .StatusChoices .STARTED
15041504
15051505
15061506@pytest .mark .django_db
Original file line number Diff line number Diff line change @@ -319,13 +319,13 @@ def test_get_metrics():
319319 "Unit" : "Count" ,
320320 },
321321 {
322- "MetricName" : "EndpointsRunning " ,
322+ "MetricName" : "EndpointsStarted " ,
323323 "Dimensions" : [{"Name" : "Model" , "Value" : "Endpoint" }],
324324 "Value" : 0 ,
325325 "Unit" : "Count" ,
326326 },
327327 {
328- "MetricName" : "EndpointsStopped " ,
328+ "MetricName" : "EndpointsRunning " ,
329329 "Dimensions" : [{"Name" : "Model" , "Value" : "Endpoint" }],
330330 "Value" : 0 ,
331331 "Unit" : "Count" ,
@@ -336,6 +336,12 @@ def test_get_metrics():
336336 "Value" : 0 ,
337337 "Unit" : "Count" ,
338338 },
339+ {
340+ "MetricName" : "EndpointsStopped" ,
341+ "Dimensions" : [{"Name" : "Model" , "Value" : "Endpoint" }],
342+ "Value" : 0 ,
343+ "Unit" : "Count" ,
344+ },
339345 {
340346 "MetricName" : "OldestActiveAlgorithmImage" ,
341347 "Value" : 0 ,
You can’t perform that action at this time.
0 commit comments