Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,632 for expect2 (0.29 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. pkg/credentialprovider/config_test.go

    	if err != nil {
    		t.Errorf("Received unexpected error: %v", err)
    	}
    
    	if !reflect.DeepEqual(expect, output) {
    		t.Errorf("Received unexpected output. Expected %#v, got %#v", expect, output)
    	}
    }
    
    func TestDockerConfigEntryJSONDecode(t *testing.T) {
    	tests := []struct {
    		input  []byte
    		expect DockerConfigEntry
    		fail   bool
    	}{
    		// simple case, just decode the fields
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 19 15:11:57 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/managedfields_test.go

    			if err != nil {
    				t.Fatalf("did not expect decoding error but got: %v", err)
    			}
    			if !reflect.DeepEqual(decoded, test.expected) {
    				t.Fatalf("expected:\n%v\nbut got:\n%v", test.expected, decoded)
    			}
    		})
    	}
    }
    
    func TestSortEncodedManagedFields(t *testing.T) {
    	tests := []struct {
    		name          string
    		managedFields []metav1.ManagedFieldsEntry
    		expected      []metav1.ManagedFieldsEntry
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  4. pkg/kubelet/eviction/mock_threshold_notifier_test.go

    	return mock
    }
    
    // EXPECT returns an object that allows the caller to indicate expected use.
    func (m *MockCgroupNotifier) EXPECT() *MockCgroupNotifierMockRecorder {
    	return m.recorder
    }
    
    // Start mocks base method.
    func (m *MockCgroupNotifier) Start(eventCh chan<- struct{}) {
    	m.ctrl.T.Helper()
    	m.ctrl.Call(m, "Start", eventCh)
    }
    
    // Start indicates an expected call of Start.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. tests/integration/security/pass_through_filter_chain_test.go

    						// TODO(nmittler): Why does passthrough not work?
    						ConditionallyTo(echotest.SameNetwork).
    						Run(func(t framework.TestContext, from echo.Instance, to echo.Target) {
    							for _, expect := range tc.expected {
    								expect := expect
    								p := expect.port
    								opts := echo.CallOptions{
    									// Do not set To, otherwise fillInCallOptions() will
    									// complain with port does not match.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. pkg/kubelet/apis/podresources/testing/provider_mock.go

    	mock := &MockDevicesProvider{ctrl: ctrl}
    	mock.recorder = &MockDevicesProviderMockRecorder{mock}
    	return mock
    }
    
    // EXPECT returns an object that allows the caller to indicate expected use.
    func (m *MockDevicesProvider) EXPECT() *MockDevicesProviderMockRecorder {
    	return m.recorder
    }
    
    // GetAllocatableDevices mocks base method.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. 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)
  8. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/CollectionPropertyIntegrationTest.groovy

                    @Internal
                    List<String> expected = []
    
                    @TaskAction
                    void validate() {
                        def actual = prop.getOrNull()
                        println 'Actual: ' + actual
                        println 'Expected: ' + expected
                        assert expected == actual
                        actual.each { assert it instanceof String }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:57:00 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/selectors/SelectorStateResolverTest.groovy

            def candidates = permutation.candidates
            def expected = permutation.expectedSingle
    
            expect:
            resolver(permutation.conflicts).resolve(candidates) == expected
    
            where:
            permutation << SCENARIOS_SINGLE
        }
    
        def "resolve pair #permutation (batch 1)"() {
            given:
            def candidates = permutation.candidates
            def expected = permutation.expectedSingle
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 23:54:34 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  10. tests/integration/pilot/analyze_test.go

    		t.Fatal(err, output)
    	}
    
    	g.Expect(j).To(HaveLen(len(expected)))
    
    	for i, m := range j {
    		g.Expect(m["level"]).To(Equal(expected[i].Level().String()))
    		g.Expect(m["code"]).To(Equal(expected[i].Code()))
    	}
    }
    
    // istioctlSafe calls istioctl analyze with certain flags set. Stdout and Stderr are merged
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top