kubernetes/pkg
Patrick Ohly 62d21589ef api test: update TestDefaulting
Logging and sub-tests were added to help debug this problem:
the test passes for ResourceClaim (same defaulting!) and fails
for the list, but only if run together with the other test cases?!

    $ go test ./pkg/api/testing
    --- FAIL: TestDefaulting (1.76s)
        --- FAIL: TestDefaulting/resource.k8s.io/v1alpha3,_Kind=ResourceClaimList (0.01s)
            defaulting_test.go:238: expected resource.k8s.io/v1alpha3, Kind=ResourceClaimList to trigger defaulting due to fuzzing
    FAIL
    FAIL	k8s.io/kubernetes/pkg/api/testing	17.294s
    FAIL
    $ go test -run=TestDefaulting/resource.k8s.io/v1alpha3,_Kind=ResourceClaimList ./pkg/api/testing
    ok  	k8s.io/kubernetes/pkg/api/testing	0.062s

What fixed that problem was increasing the likelihood of generating the right
test object by iterating more often before giving up.
2024-07-21 17:28:14 +02:00
..
api api test: update TestDefaulting 2024-07-21 17:28:14 +02:00
apis DRA: remove "sharable" from claim allocation result 2024-07-21 17:28:14 +02:00
auth Merge pull request #105598 from gy95/match 2022-01-05 09:22:38 -08:00
capabilities initialize capabilities unit test 2021-03-13 10:53:47 +01:00
client Move cri/streaming to k8s.io/kubelet staging repository 2023-06-05 08:08:18 +02:00
cluster/ports Webhook framework for cloud controller manager 2023-03-14 23:28:05 +00:00
controller DRA: remove "sharable" from claim allocation result 2024-07-21 17:28:14 +02:00
controlplane DRA: bump API v1alpha2 -> v1alpha3 2024-07-21 17:28:13 +02:00
credentialprovider address comments during review 2024-05-01 18:01:25 -04:00
features Enhance node admission to validate kubelet CSR's CN 2024-07-20 19:06:00 -05:00
fieldpath Improved FormatMap: Improves performance by about 4x, or nearly 2x in the worst case (#112661) 2023-03-01 22:26:55 -08:00
generated DRA: remove "sharable" from claim allocation result 2024-07-21 17:28:14 +02:00
kubeapiserver DRA: bump API v1alpha2 -> v1alpha3 2024-07-21 17:28:13 +02:00
kubectl DRA: bump API v1alpha2 -> v1alpha3 2024-07-21 17:28:13 +02:00
kubelet DRA: bump API v1alpha2 -> v1alpha3 2024-07-21 17:28:13 +02:00
kubemark kubemark: remove deprecated otel NewNoopTracerProvider 2024-06-07 19:10:54 +02:00
printers DRA: remove immediate allocation 2024-07-21 17:28:14 +02:00
probe fix: enable empty and len rules from testifylint on pkg package 2024-07-06 23:15:43 +00:00
proxy Add unit tests to validate "bad IP/CIDR" handling in kube-proxy 2024-07-18 10:55:13 -04:00
quota/v1 Cleanup defer from SetFeatureGateDuringTest function call 2024-04-24 20:25:29 +02:00
registry DRA: remove immediate allocation 2024-07-21 17:28:14 +02:00
routes Move public key getter to interface 2024-06-25 18:10:08 -04:00
scheduler DRA: remove "sharable" from claim allocation result 2024-07-21 17:28:14 +02:00
security Separate feature-gate for AppArmor fields 2024-03-06 10:46:32 -08:00
securitycontext Merge pull request #126011 from haircommander/sc-userns 2024-07-11 12:16:16 -07:00
serviceaccount Move public key getter to interface 2024-06-25 18:10:08 -04:00
util Merge pull request #126104 from cji/5321 2024-07-16 10:33:05 -07:00
volume Merge pull request #125165 from carlory/clean-volume-util 2024-07-19 10:34:45 -07:00
windows/service Fix typo at pkg/windows/service/service.go:94 2022-03-24 07:25:33 -04:00
.import-restrictions
OWNERS lavalamp is taking a long break 2023-05-11 16:43:38 +00:00