diff --git a/test/prom_ex/ets_cron_flusher_test.exs b/test/prom_ex/ets_cron_flusher_test.exs index 1c41a25..8fdacb6 100644 --- a/test/prom_ex/ets_cron_flusher_test.exs +++ b/test/prom_ex/ets_cron_flusher_test.exs @@ -42,17 +42,17 @@ defmodule PromEx.ETSCronFlusherTest do Events.execute_all(:phoenix) - assert length(get_metrics_table(DefaultPromExSetUp)) == 5 - assert length(get_dist_table(DefaultPromExSetUp)) == 40 + assert length(get_metrics_table(DefaultPromExSetUp)) == 6 + assert length(get_dist_table(DefaultPromExSetUp)) == 42 Events.execute_all(:phoenix) - assert length(get_metrics_table(DefaultPromExSetUp)) == 5 - assert length(get_dist_table(DefaultPromExSetUp)) == 80 + assert length(get_metrics_table(DefaultPromExSetUp)) == 6 + assert length(get_dist_table(DefaultPromExSetUp)) == 84 Process.sleep(8_000) - assert length(get_metrics_table(DefaultPromExSetUp)) == 11 + assert length(get_metrics_table(DefaultPromExSetUp)) == 14 assert get_dist_table(DefaultPromExSetUp) == [] new_timer_ref = get_timer_ref(DefaultPromExSetUp) @@ -72,17 +72,17 @@ defmodule PromEx.ETSCronFlusherTest do Events.execute_all(:phoenix) - assert length(get_metrics_table(ManualPromExSetUp)) == 5 - assert length(get_dist_table(ManualPromExSetUp)) == 40 + assert length(get_metrics_table(ManualPromExSetUp)) == 6 + assert length(get_dist_table(ManualPromExSetUp)) == 42 Events.execute_all(:phoenix) - assert length(get_metrics_table(ManualPromExSetUp)) == 5 - assert length(get_dist_table(ManualPromExSetUp)) == 80 + assert length(get_metrics_table(ManualPromExSetUp)) == 6 + assert length(get_dist_table(ManualPromExSetUp)) == 84 Process.sleep(3_500) - assert length(get_metrics_table(ManualPromExSetUp)) == 11 + assert length(get_metrics_table(ManualPromExSetUp)) == 14 assert get_dist_table(ManualPromExSetUp) == [] new_timer_ref = get_timer_ref(ManualPromExSetUp)