kubernetes/pkg/kubelet/cm/memorymanager
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
..
state Remove ioutil in kubelet and its tests 2022-07-30 12:35:26 +09:00
fake_memory_manager.go Implement all necessary methods to provide memory manager data under pod resources metrics 2021-06-22 13:06:32 +03:00
memory_manager_test.go unittests: Fixes unit tests for Windows 2022-10-25 23:46:56 +03:00
memory_manager.go CRI changes to support implementation of in-place pod resize. 2022-08-02 15:08:25 -07:00
policy_none.go memory manager: remove init containers once app container started 2021-07-05 20:52:25 +03:00
policy_static_test.go Merge pull request #104689 from cynepco3hahue/memory_manager_restricted_policy_fix 2021-10-05 06:47:08 -07:00
policy_static.go Merge pull request #104689 from cynepco3hahue/memory_manager_restricted_policy_fix 2021-10-05 06:47:08 -07:00
policy.go memory manager: remove init containers once app container started 2021-07-05 20:52:25 +03:00