- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for expectedIds (0.18 sec)
-
pkg/controller/replicaset/replica_set_test.go
// all of them have been observed. expectedPods = replicas - activePods if expectedPods > int32(burstReplicas) { expectedPods = int32(burstReplicas) } // This validates the ReplicaSet manager sync actually created pods err := validateSyncReplicaSet(&fakePodControl, int(expectedPods), 0, 0) if err != nil { t.Fatal(err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 69.2K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go
} if diff := cmp.Diff(test.want, res); diff != "" { t.Errorf("Unexpected status (-want, +got):\n%s", diff) } if len(deletedPodNames) != len(test.expectedPods) { t.Errorf("expected %v pods, got %v.", len(test.expectedPods), len(deletedPodNames)) } if diff := cmp.Diff(sets.List(patchedPodNames), sets.List(deletedPodNames)); diff != "" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 82.8K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/binder_test.go
} } } func (env *testEnv) validateBind( t *testing.T, pod *v1.Pod, expectedPVs []*v1.PersistentVolume, expectedAPIPVs []*v1.PersistentVolume) { // Check pv cache pvCache := env.internalBinder.pvCache for _, pv := range expectedPVs { cachedPV, err := pvCache.GetPV(pv.Name) if err != nil { t.Errorf("GetPV %q returned error: %v", pv.Name, err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 82.8K bytes - Viewed (0) -
pilot/pkg/model/virtualservice_test.go
configs := SelectVirtualServices(index, "some-ns", hostsByNamespace) expectedVS := []string{ virtualService1.Name, virtualService2.Name, virtualService4.Name, virtualService7.Name, virtualService8.Name, virtualService9.Name, } if len(expectedVS) != len(configs) { t.Fatalf("Unexpected virtualService, got %d, expected %d", len(configs), len(expectedVS)) } for i, config := range configs {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 60.6K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
inputReaderData string inputMd5 string inputSHA256 string inputDataSize int64 // flag indicating whether the test should pass. shouldPass bool // expected error output. expectedMd5 string expectedError error }{ // Test case 1-4. // Cases with invalid bucket name. {bucketName: ".test", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: .test")},
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 77.1K bytes - Viewed (0) -
pkg/controller/disruption/disruption_test.go
DisruptionsAllowed: disruptionsAllowed, CurrentHealthy: currentHealthy, DesiredHealthy: desiredHealthy, ExpectedPods: expectedPods, DisruptedPods: disruptedPodMap, ObservedGeneration: actualPDB.Generation, } actualStatus := actualPDB.Status if diff := cmp.Diff(expectedStatus, actualStatus, cmpopts.EquateEmpty()); diff != "" { t.Fatalf("PDB %q status mismatch (-want,+got):\n%s", key, diff) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 50K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
assertEquals("PASSED", pom.getValue("properties[1]/property")); } /*MNG-7750*/ private void checkBuildPluginWithArtifactId( List<Plugin> plugins, String artifactId, String expectedId, String expectedConfig) { Plugin plugin = plugins.stream() .filter(p -> p.getArtifactId().equals(artifactId)) .findFirst() .orElse(null);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 93.2K bytes - Viewed (0) -
pilot/pkg/model/push_context_test.go
} gotns1 := make([]string, 0) for _, filter := range pc.envoyFiltersByNamespace["testns-1"] { gotns1 = append(gotns1, filter.Keys()...) } if !reflect.DeepEqual(expectedns, gotns) { t.Errorf("Envoy filters are not ordered as expected. expected: %v got: %v", expectedns, gotns) } if !reflect.DeepEqual(expectedns1, gotns1) { t.Errorf("Envoy filters are not ordered as expected. expected: %v got: %v", expectedns1, gotns1) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h
const FloatingPoint<RawType> lhs(expected), rhs(actual); if (lhs.AlmostEquals(rhs)) { return AssertionSuccess(); } ::std::stringstream expected_ss; expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) << expected; ::std::stringstream actual_ss; actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 86.4K bytes - Viewed (0) -
pilot/pkg/model/sidecar_test.go
if !reflect.DeepEqual(got, tt.expected) { gots, _ := json.MarshalIndent(got, "", " ") expecteds, _ := json.MarshalIndent(tt.expected, "", " ") t.Errorf("Got %v, expected %v", string(gots), string(expecteds)) } }) } } func TestContainsEgressDependencies(t *testing.T) { const ( svcName = "svc1.com" nsName = "ns"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 07 09:38:49 UTC 2024 - 74.3K bytes - Viewed (0)