kubernetes/pkg
Claudiu Belu 9f95b7b18c unittests: Fixes unit tests for Windows (part 3)
Currently, there are some unit tests that are failing on Windows due to
various reasons:

- paths not properly joined (filepath.Join should be used).
- Proxy Mode IPVS not supported on Windows.
- DeadlineExceeded can occur when trying to read data from an UDP
  socket. This can be used to detect whether the port was closed or not.
- In Windows, with long file name support enabled, file names can have
  up to 32,767 characters. In this case, the error
  windows.ERROR_FILENAME_EXCED_RANGE will be encountered instead.
- files not closed, which means that they cannot be removed / renamed.
- time.Now() is not as precise on Windows, which means that 2
  consecutive calls may return the same timestamp.
- path.Base() will return the same path. filepath.Base() should be used
  instead.
- path.Join() will always join the paths with a / instead of the OS
  specific separator. filepath.Join() should be used instead.
2022-10-21 19:25:48 +03:00
..
api Code Refactoring of Pod under pkg/api (#112085) 2022-09-26 09:20:08 -07:00
apis Merge pull request #112643 from SergeyKanzhelev/removeDynamicKubeletConfig 2022-10-12 01:33:00 -07:00
auth
capabilities
client Cleanup: defer to close server in tests (#110367) 2022-06-21 08:00:38 -07:00
cloudprovider Remove references to openstack and cinder 2022-08-22 16:43:14 -04:00
cluster/ports e2e_node/{service,util}: use kubelet healthz port. 2022-04-22 16:14:31 -07:00
controller Merge pull request #108501 from zroubalik/hpa 2022-10-17 14:13:18 -07:00
controlplane Load encryption config once 2022-10-13 10:52:29 -04:00
credentialprovider Renaming usage of v1beta1 to v1, and adding API violation exceptions and 2022-09-09 06:11:06 +00:00
features Merge pull request #111616 from ndixita/credential-api-ga 2022-10-15 07:53:09 -07:00
fieldpath Fix quotes that trip up gofmt 2022-07-26 13:14:04 -04:00
generated Merge pull request #108501 from zroubalik/hpa 2022-10-17 14:13:18 -07:00
kubeapiserver Load encryption config once 2022-10-13 10:52:29 -04:00
kubectl fix the bug that kubectl convert does not pick the right api version 2022-09-23 17:14:32 +08:00
kubelet unittests: Fixes unit tests for Windows (part 3) 2022-10-21 19:25:48 +03:00
kubemark Remove Linux and Windows Kube-proxy Userspace mode 2022-10-05 16:59:02 -03:00
printers rename assuredConcurrencyShares for flowcontrol v1beta3 2022-09-26 15:34:10 -04:00
probe Merge pull request #111254 from dims/update-to-golang-1.19-rc2 2022-07-26 14:25:09 -07:00
proxy unittests: Fixes unit tests for Windows (part 3) 2022-10-21 19:25:48 +03:00
quota/v1 Use https links for k8s KEPs, issues, PRs, etc 2022-09-23 23:36:24 +00:00
registry Merge pull request #112163 from aojea/static_allocation_ga 2022-10-14 17:31:18 -07:00
routes unittests: Fixes unit tests for Windows (part 3) 2022-10-21 19:25:48 +03:00
scheduler unittests: Fixes unit tests for Windows (part 3) 2022-10-21 19:25:48 +03:00
security Remove PodSecurityPolicy admission plugin 2022-05-04 16:00:56 -04:00
securitycontext
serviceaccount Generate and format files 2022-07-26 13:14:05 -04:00
util unittests: Fixes unit tests for Windows (part 3) 2022-10-21 19:25:48 +03:00
volume unittests: Fixes unit tests for Windows (part 3) 2022-10-21 19:25:48 +03:00
windows/service Fix typo at pkg/windows/service/service.go:94 2022-03-24 07:25:33 -04:00
.import-restrictions
OWNERS Move root approvers to subdirs 2022-10-10 13:43:03 -04:00