![]() GetPodCgroupNameSuffix is only implemented for Linux, which mean that CPU and Memory stats are only available on Linux. My fix to make the test pass on other OS:es than Linux is to just check CPU and Memory stats on Linux. (This is similar to #57637 which fixed the same problem for the test TestCadvisorListPodStats.) |
||
---|---|---|
.. | ||
BUILD | ||
cadvisor_stats_provider_test.go | ||
cadvisor_stats_provider.go | ||
cri_stats_provider_test.go | ||
cri_stats_provider.go | ||
helper_test.go | ||
helper.go | ||
log_metrics_provider_test.go | ||
log_metrics_provider.go | ||
stats_provider_linux.go | ||
stats_provider_test.go | ||
stats_provider_unsupported.go | ||
stats_provider.go |