Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for notContains (0.33 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/values_test.go

    					t.Errorf("Expected Contains to return true for %v", contains)
    				}
    			}
    			for _, notContains := range tc.notContains {
    				if lister.Contains(notContains) != types.False {
    					t.Errorf("Expected Contains to return false for %v", notContains)
    				}
    			}
    
    			addition := UnstructuredToVal(tc.addition, tc.schema).(traits.Lister)
    			added := lister.Add(addition).Value()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/openapi/values_test.go

    					t.Errorf("Expected Contains to return true for %v", contains)
    				}
    			}
    			for _, notContains := range tc.notContains {
    				if lister.Contains(notContains) != types.False {
    					t.Errorf("Expected Contains to return false for %v", notContains)
    				}
    			}
    
    			addition := UnstructuredToVal(tc.addition, tc.schema).(traits.Lister)
    			added := lister.Add(addition).Value()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:30:17 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/mux/pathrecorder_test.go

    		first = first + 1
    	})
    	assert.NotContains(t, c.ListedPaths(), "/secret")
    	assert.Contains(t, c.ListedPaths(), "/nonswagger")
    
    	resp, _ := http.Get(s.URL + "/nonswagger")
    	assert.Equal(t, first, 1)
    	assert.Equal(t, resp.StatusCode, http.StatusOK)
    
    	c.Unregister("/nonswagger")
    	assert.NotContains(t, c.ListedPaths(), "/nonswagger")
    
    	resp, _ = http.Get(s.URL + "/nonswagger")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 26 16:15:13 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  4. src/net/netip/netip_test.go

    		prefix      string
    		ip          Addr
    		bits        int
    		str         string
    		contains    []Addr
    		notContains []Addr
    	}{
    		{
    			prefix:      "192.168.0.0/24",
    			ip:          mustIP("192.168.0.0"),
    			bits:        24,
    			contains:    mustIPs("192.168.0.1", "192.168.0.55"),
    			notContains: mustIPs("192.168.1.1", "1.1.1.1"),
    		},
    		{
    			prefix:      "192.168.1.1/32",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/manager_test.go

    	as.Equal([]string{resourceName1}, removed)
    	as.NotContains(capacity, v1.ResourceName(resourceName1))
    	as.NotContains(allocatable, v1.ResourceName(resourceName1))
    	val, ok := capacity[v1.ResourceName(resourceName2)]
    	as.True(ok)
    	as.Equal(int64(3), val.Value())
    	as.NotContains(testManager.healthyDevices, resourceName1)
    	as.NotContains(testManager.unhealthyDevices, resourceName1)
    	as.NotContains(testManager.endpoints, resourceName1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/certs_test.go

    				}
    			}
    		default:
    			outputStr := output.String()
    			if tc.brokenCertName != "" {
    				assert.Contains(t, outputStr, "!MISSING!")
    			} else {
    				assert.NotContains(t, outputStr, "!MISSING!")
    			}
    
    			var lines []string
    			for _, line := range strings.SplitAfter(outputStr, "\n") {
    				if strings.TrimSpace(line) != "" {
    					lines = append(lines, line)
    				}
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 13:26:12 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    		for _, r := range resources {
    			switch cgroupVersion {
    			case cgroupV1:
    				assert.Equal(t, int64(0), r.MemorySwapLimitInBytes, msg)
    			case cgroupV2:
    				assert.NotContains(t, r.Unified, cm.Cgroup2MaxSwapFilename, msg)
    			}
    		}
    	}
    
    	expectNoSwap := func(cgroupVersion CgroupVersion, resources ...*runtimeapi.LinuxContainerResources) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  8. pkg/controller/endpointslice/endpointslice_controller_test.go

    	// That should mean no client actions were performed
    	assert.Len(t, client.Actions(), 0)
    
    	// TriggerTimeTracker should have removed the reference to the missing service
    	assert.NotContains(t, esController.triggerTimeTracker.ServiceStates, missingServiceKey)
    
    	// TriggerTimeTracker should have left the reference to the missing service
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  9. pkg/proxy/iptables/proxier_test.go

    	// should only sync svc4, and shouldn't output its endpoints
    	if numEndpoints != 0 {
    		t.Errorf("Found wrong number of endpoints after service deletion: expected %d, got %d", 0, numEndpoints)
    	}
    	assert.NotContains(t, fp.iptablesData.String(), "-X ", "iptables data unexpectedly contains chain deletions")
    
    	// But resyncing after a long-enough delay will delete the stale chains
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (1)
Back to top