kubernetes/pkg/kubelet/kubeletconfig
Claudiu Belu 6f2eeed2e8 unittests: Fixes unit tests for Windows
Currently, there are some unit tests that are failing on Windows due to
various reasons:

- config options not supported on Windows.
- files not closed, which means that they cannot be removed / renamed.
- paths not properly joined (filepath.Join should be used).
- time.Now() is not as precise on Windows, which means that 2
  consecutive calls may return the same timestamp.
- different error messages on Windows.
- files have \r\n line endings on Windows.
- /tmp directory being used, which might not exist on Windows. Instead,
  the OS-specific Temp directory should be used.
- the default value for Kubelet's EvictionHard field was containing
  OS-specific fields. This is now moved, the field is now set during
  Kubelet's initialization, after the config file is read.
2022-10-25 23:46:56 +03:00
..
checkpoint Remove no-longer used selflink code from kubelet 2022-01-14 10:38:23 +01:00
configfiles Merge pull request #103059 from rajaSahil/fix-error 2021-08-17 10:29:25 -07:00
status remove DynamicKubeletConfig logic from kubelet 2022-01-19 22:38:04 +00:00
util unittests: Fixes unit tests for Windows 2022-10-25 23:46:56 +03:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00