- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for expectEdges (0.25 sec)
-
pkg/controller/garbagecollector/dump_test.go
compareGraphs(test.expectNodes, actualNodes, test.expectEdges, actualEdges, t) }) } } func TestToDOTGraphObj(t *testing.T) { tests := []struct { name string uidToNode map[types.UID]*node uids []types.UID expectNodes []*dotVertex expectEdges []dotEdge }{ { name: "simple", uidToNode: map[types.UID]*node{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 14 00:05:53 UTC 2023 - 11.2K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/graph_test.go
// (the slices we get back are from map iteration, where order is not guaranteed) expectEdges := c.expect.graph.Edges() sort.Slice(expectEdges, func(i, j int) bool { if expectEdges[i].From().ID() == expectEdges[j].From().ID() { return expectEdges[i].To().ID() < expectEdges[j].To().ID() } return expectEdges[i].From().ID() < expectEdges[j].From().ID() }) startEdges := c.start.graph.Edges()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 23 23:14:19 UTC 2022 - 12.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/network_test.go
setGws(c.NetworkGateways()) notifyCh <- struct{}{} }) expectGateways := func(t *testing.T, expectedGws int) { // wait for a notification assert.ChannelHasItem(t, notifyCh) if n := len(getGws()); n != expectedGws { t.Errorf("expected %d gateways but got %d", expectedGws, n) } } t.Run("add meshnetworks", func(t *testing.T) { addMeshNetworksFromRegistryGateway(t, c, meshNetworks)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 10.7K bytes - Viewed (0) -
src/internal/trace/traceviewer/static/trace_viewer_full.html
return{UserMod...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2.5M bytes - Viewed (0)