Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 823 for expect2 (0.21 sec)

  1. pkg/volume/util/fsquota/quota_linux_test.go

    			fail = true
    			t.Errorf("Case %v (%s, %s, %v) podQuotaCount mismatch: got %v, expect %v", seq, testcase.name, testcase.path, enabled, len(podQuotaMap), expectedPodQuotaCount)
    		}
    		if len(dirQuotaMap) != expectedDirQuotaCount {
    			fail = true
    			t.Errorf("Case %v (%s, %s, %v) dirQuotaCount mismatch: got %v, expect %v", seq, testcase.name, testcase.path, enabled, len(dirQuotaMap), expectedDirQuotaCount)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. pilot/pkg/xds/sds_test.go

    			request:   &model.PushRequest{Full: true},
    			expect:    map[string]Expected{},
    		},
    		{
    			name:      "multiple",
    			proxy:     &model.Proxy{VerifiedIdentity: &spiffe.Identity{Namespace: "istio-system"}, Type: model.Router},
    			resources: allResources,
    			request:   &model.PushRequest{Full: true},
    			expect: map[string]Expected{
    				"kubernetes://generic": {
    					Key:  string(genericCert.Data[credentials.GenericScrtKey]),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  3. src/crypto/tls/bogo_shim_test.go

    	onResumeExpectECHAccepted  = flag.Bool("on-resume-expect-ech-accept", false, "")
    	_                          = flag.Bool("on-resume-expect-no-ech-name-override", false, "")
    	expectedServerName         = flag.String("expect-server-name", "", "")
    
    	expectSessionMiss = flag.Bool("expect-session-miss", false, "")
    
    	_                       = flag.Bool("enable-early-data", false, "")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:25:39 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. security/pkg/nodeagent/cache/secretcache_test.go

    		expected string
    	}{
    		{
    			name:     "no certs",
    			certs:    []string{},
    			expected: "",
    		},
    		{
    			name:     "single cert",
    			certs:    []string{"a"},
    			expected: "a",
    		},
    		{
    			name:     "multiple certs",
    			certs:    []string{"a", "b"},
    			expected: "a\nb",
    		},
    		{
    			name:     "existing newline",
    			certs:    []string{"a\n", "b"},
    			expected: "a\nb",
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilderTest.groovy

            spec.compileOptions.compilerArgs = ['--module-source-path', '/src/other']
            def expected = ["-g", "-proc:none", USE_UNSHARED_COMPILER_TABLE_OPTION, "-classpath", "", "--module-source-path", "/src/other"]
    
            expect:
            builder.build() == expected
            builder.noEmptySourcePath().build() == expected
        }
    
        String defaultEmptySourcePathRefFolder() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:36 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

      if (!num_outs)
        return switchn.emitOpError() << "expects a `num_outs` integer attribute";
    
      // Expect num_outs results + 1 control output.
      if (switchn.getNumResults() != num_outs.getInt() + 1)
        return switchn.emitOpError()
               << "expect `num_outs` (" << num_outs.getInt() << ") results but got "
               << (switchn.getNumResults() - 1);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  8. pkg/registry/core/service/strategy_test.go

    			}
    			if !reflect.DeepEqual(result.Spec.ClusterIPs, tc.expect.Spec.ClusterIPs) {
    				t.Errorf("expected clusterIPs %q, got %q", tc.expect.Spec.ClusterIP, result.Spec.ClusterIP)
    			}
    			if !reflect.DeepEqual(result.Spec.IPFamilies, tc.expect.Spec.IPFamilies) {
    				t.Errorf("expected ipFamilies %q, got %q", tc.expect.Spec.IPFamilies, result.Spec.IPFamilies)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  9. pkg/proxy/util/utils_test.go

    			expect: "[fd00:1::5]",
    		},
    	}
    
    	for i := range testCases {
    		got := AppendPortIfNeeded(testCases[i].addr, testCases[i].port)
    		if testCases[i].expect != got {
    			t.Errorf("case %s: expected %v, got %v", testCases[i].name, testCases[i].expect, got)
    		}
    	}
    }
    
    func TestMapIPsByIPFamily(t *testing.T) {
    	testCases := []struct {
    		desc            string
    		ipString        []string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/echotest/filters_test.go

    		k := instanceKey(i)
    		if _, ok := expected[k]; !ok {
    			unexpected[k] = struct{}{}
    		}
    	}
    	for _, i := range got {
    		k := instanceKey(i)
    		// just remove the items rather than looping over expected, if anythings left we missed it
    		delete(expected, k)
    		if _, ok := unexpected[k]; ok {
    			t.Errorf("expected %s to be filtered out", k)
    		}
    	}
    	if len(expected) > 0 {
    		t.Errorf("did not include %v", expected)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top