Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 3,910 for expected_ (0.45 sec)

  1. pkg/kubelet/cm/helpers_linux_test.go

    		}
    		if !reflect.DeepEqual(actual.CPUQuota, testCase.expected.CPUQuota) {
    			t.Errorf("unexpected result, test: %v, cpu quota not as expected. Expected: %v, Actual:%v", testName, *testCase.expected.CPUQuota, *actual.CPUQuota)
    		}
    		if !reflect.DeepEqual(actual.CPUShares, testCase.expected.CPUShares) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/node_container_manager_linux_test.go

    		}
    		cm := &containerManagerImpl{
    			NodeConfig: nc,
    			capacity:   tc.capacity,
    		}
    		for k, v := range cm.GetNodeAllocatableReservation() {
    			expected, exists := tc.expected[k]
    			assert.True(t, exists, "test case %d expected resource %q", idx+1, k)
    			assert.Equal(t, expected.MilliValue(), v.MilliValue(), "test case %d failed for resource %q", idx+1, k)
    		}
    	}
    
    	ephemeralStorageEvictionThreshold := resource.MustParse("100Mi")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 12.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            value = "Fess,フェス";
            expected = Arrays.asList("Fess", "フェス");
            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
            value = "\"Fess,FESS\"";
            expected = Arrays.asList("\"Fess,FESS\"");
            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
            value = " ";
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. pkg/securitycontext/accessors_test.go

    			t.Errorf("%d: expected %#v, got %#v", i, expected.RunAsUser, v)
    		}
    		if v := a.RunAsGroup(); !reflect.DeepEqual(expected.RunAsGroup, v) {
    			t.Errorf("%d: expected %#v, got %#v", i, expected.RunAsGroup, v)
    		}
    		if v := a.SeccompProfile(); !reflect.DeepEqual(expected.SeccompProfile, v) {
    			t.Errorf("%d: expected %#v, got %#v", i, expected.SeccompProfile, v)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 22 16:15:27 UTC 2023
    - 27.8K bytes
    - Viewed (0)
  5. tests/integration/telemetry/policy/traffic_allow_any_test.go

    	"istio.io/istio/pkg/test/framework/components/prometheus"
    )
    
    func TestOutboundTrafficPolicy_AllowAny(t *testing.T) {
    	cases := []*TestCase{
    		{
    			Name:     "HTTP Traffic",
    			PortName: "http",
    			Expected: Expected{
    				Query: prometheus.Query{
    					Metric:      "istio_requests_total",
    					Aggregation: "sum",
    					Labels: map[string]string{
    						"reporter":                 "source",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 18 18:03:23 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  6. src/cmd/internal/test2json/testdata/framefuzz.test

        inlining_test.go:102: not in expected set, but also inlinable: "mask6"
        inlining_test.go:102: not in expected set, but also inlinable: "AddrPort.isZero"
        inlining_test.go:102: not in expected set, but also inlinable: "stringsLastIndexByte"
        inlining_test.go:102: not in expected set, but also inlinable: "Addr.isZero"
        inlining_test.go:102: not in expected set, but also inlinable: "bePutUint32"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/labels_test.go

    	containerInfo := getContainerInfoFromAnnotations(annotations)
    	if !reflect.DeepEqual(containerInfo, expected) {
    		t.Errorf("expected %v, got %v", expected, containerInfo)
    	}
    	if v, ok := annotations[opts.Annotations[0].Name]; !ok || v != opts.Annotations[0].Value {
    		t.Errorf("expected annotation %s to exist got %v, %v", opts.Annotations[0].Name, ok, v)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 22:43:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/helpers_linux_test.go

    			input:    int64(5),
    			period:   uint64(10000),
    			expected: minQuotaPeriod,
    		},
    		{
    			msg:      "5 input 5k period and default quota expected",
    			input:    int64(5),
    			period:   uint64(5000),
    			expected: minQuotaPeriod,
    		},
    		{
    			msg:      "9 input 10k period and default quota expected",
    			input:    int64(9),
    			period:   uint64(10000),
    			expected: minQuotaPeriod,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. pkg/api/storage/util_test.go

    			actual := sets.New[string](GetWarningsForStorageClass(tc.template)...)
    			expected := sets.New[string](tc.expected...)
    			for _, missing := range sets.List[string](expected.Difference(actual)) {
    				t.Errorf("missing: %s", missing)
    			}
    			for _, extra := range sets.List[string](actual.Difference(expected)) {
    				t.Errorf("extra: %s", extra)
    			}
    		})
    
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. test/fixedbugs/issue33386.go

    	}()             // ERROR "expected expression|expected operand"
    }
    
    func _() {
    	defer func() { // no error here about deferred function
    		1 +    // GCCGO_ERROR "value computed is not used"
    	}()            // ERROR "expected expression|expected operand"
    }
    
    func _() {
    	_ = (1 +)             // ERROR "expected expression|expected operand"
    	_ = a[2 +]            // ERROR "expected expression|expected operand|undefined name"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 01 22:37:04 UTC 2022
    - 953 bytes
    - Viewed (0)
Back to top