kubernetes/pkg/kubelet/server/stats
Claudiu Belu ec753fcb55 unittests: Fixes unit tests for Windows (part 6)
Currently, there are some unit tests that are failing on Windows due to
various reasons:

- On Windows, consecutive time.Now() calls may return the same timestamp, which would cause
  the TestFreeSpaceRemoveByLeastRecentlyUsed test to flake.
- tests in kuberuntime_container_windows_test.go fail on Nodes that have fewer than 3 CPUs,
  expecting the CPU max set to be more than 100% of available CPUs, which is not possible.
- calls in summary_windows_test.go are missing context.
- filterTerminatedContainerInfoAndAssembleByPodCgroupKey will filter and group container
  information by the Pod cgroup key, if it exists. However, we don't have cgroups on Windows,
  thus we can't make the same assertions.
2023-01-31 11:49:26 +00:00
..
testing Second attempt: Plumb context to Kubelet CRI calls (#113591) 2022-11-05 06:02:13 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
fs_resource_analyzer.go feature: add CSIVolumeHealth feature and gate 2021-03-10 01:16:37 +09:00
handler.go Second attempt: Plumb context to Kubelet CRI calls (#113591) 2022-11-05 06:02:13 -07:00
resource_analyzer.go feature: add CSIVolumeHealth feature and gate 2021-03-10 01:16:37 +09:00
summary_sys_containers_windows.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
summary_sys_containers.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
summary_test.go Second attempt: Plumb context to Kubelet CRI calls (#113591) 2022-11-05 06:02:13 -07:00
summary_windows_test.go unittests: Fixes unit tests for Windows (part 6) 2023-01-31 11:49:26 +00:00
summary.go Second attempt: Plumb context to Kubelet CRI calls (#113591) 2022-11-05 06:02:13 -07:00
volume_stat_calculator_test.go fix: add nil check 2022-03-27 08:38:20 +00:00
volume_stat_calculator.go Merge pull request #107490 from pacoxu/add-volume-stats-slow-log 2022-07-28 17:55:10 -07:00