mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 17:51:21 +00:00
Remove benchmark test of a single assignment
EndpointRender was so trivial it took a long time to hunt for a number of iterations that took over 1 second. So stop benchmarking it, and indeed get rid of it completely.
This commit is contained in:
@@ -13,7 +13,7 @@ import (
|
||||
)
|
||||
|
||||
func TestEndpointRenderer(t *testing.T) {
|
||||
have := utils.Prune(render.EndpointRenderer.Render(context.Background(), fixture.Report).Nodes)
|
||||
have := utils.Prune(render.SelectEndpoint.Render(context.Background(), fixture.Report).Nodes)
|
||||
want := utils.Prune(expected.RenderedEndpoints)
|
||||
if !reflect.DeepEqual(want, have) {
|
||||
t.Error(test.Diff(want, have))
|
||||
|
||||
Reference in New Issue
Block a user