- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 2,632 for expect2 (0.17 sec)
-
pkg/bootstrap/option/instances_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 20:38:02 UTC 2024 - 22.4K bytes - Viewed (0) -
pkg/scheduler/framework/types_test.go
r := NewResource(test.resourceList) if !reflect.DeepEqual(test.expected, r) { t.Errorf("expected: %#v, got: %#v", test.expected, r) } }) } } func TestResourceClone(t *testing.T) { tests := []struct { resource *Resource expected *Resource }{ { resource: &Resource{}, expected: &Resource{}, }, { resource: &Resource{ MilliCPU: 4,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 45.9K bytes - Viewed (0) -
pkg/kubelet/container/testing/runtime_mock.go
func NewMockVersion(ctrl *gomock.Controller) *MockVersion { mock := &MockVersion{ctrl: ctrl} mock.recorder = &MockVersionMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockVersion) EXPECT() *MockVersionMockRecorder { return m.recorder } // Compare mocks base method. func (m *MockVersion) Compare(other string) (int, error) { m.ctrl.T.Helper()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 27K bytes - Viewed (0) -
pilot/pkg/xds/lds_test.go
expected := 1 if len(l.FilterChains) != expected { t.Fatalf("Expected %d filter chains, got %d", expected, len(l.FilterChains)) } } else { t.Fatal("Expected listener for 0.0.0.0_8081") } if l := adsc.GetHTTPListeners()["virtualInbound"]; l == nil { t.Fatal("Expected listener virtualInbound") } // Expect only one eds cluster for http1.ns1.svc.cluster.local
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 12 18:20:36 UTC 2024 - 13.1K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/cpu_assignment_test.go
sort.Ints(result) if !reflect.DeepEqual(result, tc.expect) { t.Errorf("expected %v to equal %v", result, tc.expect) } }) } } func TestCPUAccumulatorFreeNUMANodes(t *testing.T) { testCases := []struct { description string topo *topology.CPUTopology availableCPUs cpuset.CPUSet expect []int }{ { "single socket HT, 1 NUMA node free",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 09 17:31:37 UTC 2023 - 22.7K bytes - Viewed (0) -
src/cmd/pack/pack_test.go
stdout = os.Stdout verbose = false }() ar.scan(ar.printContents) ar.a.File().Close() result := buf.String() // Expect verbose output plus file contents. expect := fmt.Sprintf("%s\n%s", helloFile.name, helloFile.contents) if result != expect { t.Fatalf("expected %q got %q", expect, result) } } // Test that we can create an archive, write to it, and get the same contents back.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 04 16:27:35 UTC 2023 - 12.5K bytes - Viewed (0) -
pilot/pkg/networking/core/loadbalancer/loadbalancer_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 23 05:38:57 UTC 2024 - 39.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/LocalComponentDependencyMetadataTest.groovy
expect: try { def result = dep.selectVariants(variantSelector, attributes(queryAttributes), toComponent, attributesSchema, [] as Set).variants.name as Set if (expected == null && result) { throw new Exception("Expected an ambiguous result, but got $result") } assert result == [expected] as Set
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:10:53 UTC 2024 - 25.3K bytes - Viewed (0) -
plugin/pkg/admission/extendedresourcetoleration/admission_test.go
expectedPod core.Pod }{ { description: "empty pod without any extended resources, expect no change in tolerations", requestedPod: core.Pod{ Spec: core.PodSpec{}, }, expectedPod: core.Pod{ Spec: core.PodSpec{}, }, }, { description: "pod with container without any extended resources, expect no change in tolerations", requestedPod: core.Pod{ Spec: core.PodSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 20 15:11:00 UTC 2019 - 10.3K bytes - Viewed (0) -
src/time/format_test.go
t.Errorf("got %q; expect %q", got, expect) } got = noon.Format("03:04PM") if got != expect { t.Errorf("got %q; expect %q", got, expect) } } func TestMidnightIs12AM(t *testing.T) { midnight := Date(0, January, 1, 0, 0, 0, 0, UTC) expect := "12:00AM" got := midnight.Format("3:04PM") if got != expect { t.Errorf("got %q; expect %q", got, expect) } got = midnight.Format("03:04PM")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:58:29 UTC 2024 - 36.4K bytes - Viewed (0)