Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

Commit

Permalink
e2e: make e2e tests more stable
Browse files Browse the repository at this point in the history
  • Loading branch information
ushitora-anqou committed Jul 5, 2024
1 parent 4ca5e82 commit 0095fdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/e2e.ml
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,9 @@ let () =

(* Check that the web and sidekiq Pods are restarted periodically *)
apply_manifest "mastodon0-v4.2.0-restart.yaml";
eventually (fun () -> check_pod_age ~component:"web" ~smaller_than:10);
eventually (fun () -> check_pod_age ~component:"web" ~smaller_than:30);
consistently (fun () -> check_pod_age ~component:"web" ~smaller_than:90);
eventually (fun () -> check_pod_age ~component:"sidekiq" ~smaller_than:10);
eventually (fun () -> check_pod_age ~component:"sidekiq" ~smaller_than:30);
consistently (fun () -> check_pod_age ~component:"sidekiq" ~smaller_than:90);

delete_manifest "mastodon0-v4.2.0.yaml";
Expand Down

0 comments on commit 0095fdc

Please sign in to comment.