- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for expectedIds (0.35 sec)
-
pkg/registry/discovery/endpointslice/strategy_test.go
if !apiequality.Semantic.DeepEqual(tc.newEPS, tc.expectedEPS) { t.Errorf("Expected %+v\nGot: %+v", tc.expectedEPS, tc.newEPS) } }) } } func Test_dropTopologyOnV1(t *testing.T) { testcases := []struct { name string v1Request bool newEPS *discovery.EndpointSlice originalEPS *discovery.EndpointSlice expectedEPS *discovery.EndpointSlice }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.3K bytes - Viewed (0) -
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) -
cmd/object-api-putobject_test.go
expectedError: hash.BadDigest{ExpectedMD5: invalidMD5, CalculatedMD5: getMD5Hash(nilBytes)}, }, 25: { bucketName: bucket, objName: object, inputData: fiveMBBytes, inputMeta: invalidMD5Header, inputDataSize: int64(len(fiveMBBytes)), expectedMd5: getMD5Hash(fiveMBBytes), expectedError: hash.BadDigest{ExpectedMD5: invalidMD5, CalculatedMD5: getMD5Hash(fiveMBBytes)},
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 25.8K 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) -
pkg/registry/core/service/ipallocator/controller/repairip_test.go
} func TestRepairServiceIP(t *testing.T) { tests := []struct { name string svcs []*v1.Service ipAddresses []*networkingv1alpha1.IPAddress cidrs []*networkingv1alpha1.ServiceCIDR expectedIPs []string actions [][]string // verb and resource events []string }{ { name: "no changes needed single stack", svcs: []*v1.Service{newService("test-svc", []string{"10.0.1.1"})},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:06 UTC 2023 - 20.3K bytes - Viewed (0) -
pkg/apis/policy/v1/zz_generated.conversion.go
out.DisruptionsAllowed = in.DisruptionsAllowed out.CurrentHealthy = in.CurrentHealthy out.DesiredHealthy = in.DesiredHealthy out.ExpectedPods = in.ExpectedPods out.Conditions = *(*[]metav1.Condition)(unsafe.Pointer(&in.Conditions)) return nil } // Convert_v1_PodDisruptionBudgetStatus_To_policy_PodDisruptionBudgetStatus is an autogenerated conversion function.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 10 22:32:27 UTC 2022 - 12.2K bytes - Viewed (0) -
pkg/volume/git_repo/git_repo_test.go
} if fake.CommandCalls != len(expecteds) { allErrs = append(allErrs, fmt.Errorf("unexpected command calls in scenario: expected %d, saw: %d", len(expecteds), fake.CommandCalls)) } var expectedCmds [][]string for _, expected := range expecteds { expectedCmds = append(expectedCmds, expected.cmd) } if !reflect.DeepEqual(expectedCmds, fcmd.CombinedOutputLog) { allErrs = append(allErrs,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 08:26:26 UTC 2024 - 12K bytes - Viewed (0) -
pkg/apis/policy/v1beta1/zz_generated.conversion.go
out.DisruptedPods = *(*map[string]v1.Time)(unsafe.Pointer(&in.DisruptedPods)) out.DisruptionsAllowed = in.DisruptionsAllowed out.CurrentHealthy = in.CurrentHealthy out.DesiredHealthy = in.DesiredHealthy out.ExpectedPods = in.ExpectedPods out.Conditions = *(*[]v1.Condition)(unsafe.Pointer(&in.Conditions)) return nil } // Convert_v1beta1_PodDisruptionBudgetStatus_To_policy_PodDisruptionBudgetStatus is an autogenerated conversion function.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 20:44:13 UTC 2023 - 12.3K bytes - Viewed (0) -
internal/hash/reader_test.go
t.Errorf("Expected size 4, got %d", r.Size()) } if r.ActualSize() != 4 { t.Errorf("Expected size 4, got %d", r.ActualSize()) } expectedMD5, err := hex.DecodeString("e2fc714c4727ee9395f324cd2e7f331f") if err != nil { t.Fatal(err) } if !bytes.Equal(r.MD5Current(), expectedMD5) { t.Errorf("Expected md5hex \"e2fc714c4727ee9395f324cd2e7f331f\", got %s", hex.EncodeToString(r.MD5Current())) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Sep 18 17:00:54 UTC 2023 - 10.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/conversion_test.go
t.Fatalf("service IP incorrect => %q, want %q", ips[0], ip) } actualIPs := service.ClusterVIPs.GetAddressesFor(clusterID) expectedIPs := []string{ip} if !reflect.DeepEqual(actualIPs, expectedIPs) { t.Fatalf("service IPs incorrect => %q, want %q", actualIPs, expectedIPs) } if !reflect.DeepEqual(service.Attributes.LabelSelectors, localSvc.Spec.Selector) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 12.7K bytes - Viewed (0)