Skip to content

Commit 68e2f6d

Browse files
committed
fix test
1 parent fbffe45 commit 68e2f6d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/integration/grpc_management_plane_api_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,8 @@ func getManagementPlaneResponses(t *testing.T, numberOfExpectedResponses int) []
505505
unmarshalErr := json.Unmarshal(responseData, &response)
506506
require.NoError(t, unmarshalErr)
507507

508+
assert.Len(t, response, numberOfExpectedResponses)
509+
508510
slices.SortFunc(response, func(a, b *mpi.DataPlaneResponse) int {
509511
return a.GetMessageMeta().GetTimestamp().AsTime().Compare(b.GetMessageMeta().GetTimestamp().AsTime())
510512
})

0 commit comments

Comments
 (0)