Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 7,815 for expect2 (0.1 sec)

  1. 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)
  2. 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)
  3. src/compress/flate/testdata/huffman-text-shift.wb.expect-noinput

    Klaus Post <******@****.***> 1457448890 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 231 bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServerTest.groovy

            b.toURL().text == "hi"
    
            when:
            server.stop()
    
            then:
            noExceptionThrown()
        }
    
        def "succeeds when expected serial requests are made"() {
            given:
            server.expect("a")
            server.expect("b")
            server.expect("c")
            server.start()
    
            when:
            succeeds("a")
            succeeds("b")
            succeeds("c")
            server.stop()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  5. pkg/test/framework/suite_test.go

    		ref := []OtherInterface{existing}
    		err := act(&ref, tracked)
    		g.Expect(err).To(BeNil())
    		g.Expect(ref).To(HaveLen(2))
    		g.Expect(existing).To(Equal(ref[0]))
    		g.Expect(tracked).To(Equal(ref[1]))
    	})
    	t.Run("non pointer ref", func(t *testing.T) {
    		g := NewWithT(t)
    		err := act(resource.FakeResource{}, &resource.FakeResource{})
    		g.Expect(err).NotTo(BeNil())
    	})
    }
    
    func TestDeriveSuiteName(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. maven-model-builder/src/test/resources/poms/inheritance/no-append-urls-expected.xml

    Christian Wansart <******@****.***> 1573139799 +0100
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Nov 07 15:16:39 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  7. maven-model-builder/src/test/resources/poms/inheritance/no-append-urls2-expected.xml

    Christian Wansart <******@****.***> 1573139799 +0100
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Nov 07 15:16:39 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  8. 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)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/filters/warning_test.go

    	}
    	tests := []struct {
    		name   string
    		args   []args
    		expect []string
    	}{
    		{
    			name:   "empty",
    			args:   []args{},
    			expect: nil,
    		},
    		{
    			name:   "empty values",
    			args:   []args{{agent: "", text: ""}},
    			expect: nil,
    		},
    		{
    			name:   "empty agent",
    			args:   []args{{agent: "", text: "mytext"}},
    			expect: []string{`299 - "mytext"`},
    		},
    		{
    			name:   "simple",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 01 16:14:06 UTC 2020
    - 4K bytes
    - Viewed (0)
  10. src/reflect/visiblefields_test.go

    			typ := TypeOf(test.val)
    			fields := VisibleFields(typ)
    			if got, want := len(fields), len(test.expect); got != want {
    				t.Fatalf("unexpected field count; got %d want %d", got, want)
    			}
    
    			for j, field := range fields {
    				expect := test.expect[j]
    				t.Logf("field %d: %s", j, expect.name)
    				gotField := typ.FieldByIndex(field.Index)
    				// Unfortunately, FieldByIndex does not return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 08 13:44:41 UTC 2022
    - 5.3K bytes
    - Viewed (0)
Back to top