Skip to content

Commit e768aad

Browse files
authored
Fix flaky Solaris test (#3289)
Ignore `node_cpu_frequency_max_hertz` to fix flaky Solaris end-to-end test. Signed-off-by: Ben Kochie <[email protected]>
1 parent 93b79b4 commit e768aad

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

collector/fixtures/e2e-output-solaris.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,6 @@ node_buddyinfo_blocks{node="0",size="8",zone="Normal"} 0
9191
node_buddyinfo_blocks{node="0",size="9",zone="DMA"} 1
9292
node_buddyinfo_blocks{node="0",size="9",zone="DMA32"} 0
9393
node_buddyinfo_blocks{node="0",size="9",zone="Normal"} 0
94-
# HELP node_cpu_frequency_max_hertz Maximum CPU thread frequency in hertz.
95-
# TYPE node_cpu_frequency_max_hertz gauge
96-
node_cpu_frequency_max_hertz{cpu="0"} 2.445e+09
97-
node_cpu_frequency_max_hertz{cpu="1"} 2.445e+09
98-
node_cpu_frequency_max_hertz{cpu="2"} 2.445e+09
99-
node_cpu_frequency_max_hertz{cpu="3"} 2.445e+09
10094
# HELP node_exporter_build_info A metric with a constant '1' value labeled by version, revision, branch, goversion from which node_exporter was built, and the goos and goarch for the build.
10195
# TYPE node_exporter_build_info gauge
10296
# HELP node_os_info A metric with a constant '1' value labeled by build_id, id, id_like, image_id, image_version, name, pretty_name, variant, variant_id, version, version_codename, version_id.

end-to-end-test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ get "127.0.0.1:${port}/metrics" | grep --text -E -v "${skip_re}" > "${generated_
325325
non_deterministic_metrics=$(cat << METRICS
326326
node_boot_time_seconds
327327
node_cpu_frequency_hertz
328+
node_cpu_frequency_max_hertz
328329
node_cpu_seconds_total
329330
node_disk_io_time_seconds_total
330331
node_disk_read_bytes_total

0 commit comments

Comments
 (0)