- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 7,321 for expect64 (0.19 sec)
-
pilot/pkg/xds/discovery_test.go
} if !wgDoneOrTimeout(wg, time.Second) { t.Fatalf("Expected 5 pushes but got %v", len(pushes)) } expected := map[string]int{ "proxy-0": 1, "proxy-1": 1, "proxy-2": 1, "proxy-3": 1, "proxy-4": 1, } if !reflect.DeepEqual(expected, pushes) { t.Fatalf("Expected pushes %+v, got %+v", expected, pushes) } } type fakeStream struct { grpc.ServerStream }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 00:26:45 UTC 2024 - 9.2K bytes - Viewed (0) -
pkg/kubelet/status/testing/mock_pod_status_provider.go
func NewMockPodManager(ctrl *gomock.Controller) *MockPodManager { mock := &MockPodManager{ctrl: ctrl} mock.recorder = &MockPodManagerMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockPodManager) EXPECT() *MockPodManagerMockRecorder { return m.recorder } // GetMirrorPodByPod mocks base method. func (m *MockPodManager) GetMirrorPodByPod(arg0 *v1.Pod) (*v1.Pod, bool) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 15.4K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/printers/template_test.go
if test.expectErr == nil { t.Errorf("[%s]expected success but got:\n %v\n", test.name, err) return } if expected, ok := test.expectErr(err); !ok { t.Errorf("[%s]expect:\n %v\n but got:\n %v\n", test.name, expected, err) } return } err = p.PrintObj(test.obj, buffer) if err != nil { if test.expectErr == nil { t.Errorf("[%s]expected success but got:\n %v\n", test.name, err) return
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 22 23:10:00 UTC 2019 - 7.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleSourceDetectorTest.groovy
static class B extends RuleSource {} static class A extends RuleSource {} } def "find model rule sources - #clazz"() { expect: detector.getDeclaredSources(clazz).toList() == expected where: clazz | expected String | [] HasOneSource | [HasOneSource.Source] HasTwoSources | [HasTwoSources.SourceOne, HasTwoSources.SourceTwo]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3K bytes - Viewed (0) -
cmd/kubeadm/app/util/error_test.go
testCases := []struct { name string errs []error expect string }{ { name: "two errors", errs: []error{ errors.New(errMsg1), errors.New(errMsg2), }, expect: "\t- " + errMsg1 + "\n" + "\t- " + errMsg2 + "\n", }, { name: "one error", errs: []error{ errors.New(errMsg1), }, expect: "\t- " + errMsg1 + "\n", }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jul 04 08:41:27 UTC 2021 - 2.4K bytes - Viewed (0) -
subprojects/diagnostics/src/test/groovy/org/gradle/api/reporting/components/internal/RendererUtilsTest.groovy
class RendererUtilsTest extends Specification { def "returns '#expected' for simple value #value"() { expect: RendererUtils.displayValueOf(value) == expected where: value | expected null | "null" 1 | "1" true | "true" } def "returns '#expected' for #value.getClass().simpleName"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 2.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/MapPropertyIntegrationTest.groovy
} '''.stripIndent() expect: succeeds('verify') } def "has no value when providing a null map to a map property"() { given: buildFile << ''' verify { prop.putAll(project.provider { null }) expected = null } '''.stripIndent() expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 04 15:28:53 UTC 2024 - 24.5K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_test.go
To(Equal(uint32(expected.Tcp.TcpKeepalive.Time.Seconds))) g.Expect(cluster.UpstreamConnectionOptions.TcpKeepalive.KeepaliveInterval.Value). To(Equal(uint32(expected.Tcp.TcpKeepalive.Interval.Seconds))) g.Expect(cluster.ConnectTimeout).NotTo(BeNil()) g.Expect(cluster.ConnectTimeout.Seconds).To(Equal(expected.Tcp.ConnectTimeout.Seconds)) g.Expect(thresholds.MaxConnections).NotTo(BeNil())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 108.8K bytes - Viewed (0) -
pilot/pkg/networking/core/route/retry/retry_test.go
g.Expect(policy).To(Not(BeNil())) g.Expect(policy.RetryOn).To(Equal("some,fake,conditions")) g.Expect(policy.PerTryTimeout).To(Equal(durationpb.New(time.Second * 3))) g.Expect(policy.NumRetries.Value).To(Equal(uint32(2))) g.Expect(policy.RetriableStatusCodes).To(Equal(make([]uint32, 0))) g.Expect(policy.RetryPriority).To(BeNil())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 7.7K bytes - Viewed (0) -
operator/pkg/util/yaml_test.go
if got := YAMLDiff(tt.diff1, tt.diff2); got != tt.expect { t.Errorf("%s: expect %v got %v", tt.desc, tt.expect, got) } }) } } func TestIsYAMLEqual(t *testing.T) { tests := []struct { desc string in1 string in2 string expect bool }{ { desc: "yaml-equal", in1: `foo: bar`, in2: `foo: bar`, expect: true, }, { desc: "bad-yaml-1",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 06 17:00:14 UTC 2024 - 6.7K bytes - Viewed (0)