From 7458467e4e97cb470c07ac89eec5009e4534a4ec Mon Sep 17 00:00:00 2001 From: bodymindarts Date: Fri, 26 Apr 2024 08:55:00 +0200 Subject: [PATCH] test(notifications): add load test psudo-code --- bats/core/notifications/notifications.bats | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bats/core/notifications/notifications.bats b/bats/core/notifications/notifications.bats index 81cf6378c6..45e21508aa 100644 --- a/bats/core/notifications/notifications.bats +++ b/bats/core/notifications/notifications.bats @@ -79,3 +79,12 @@ setup_file() { acknowledged_at=$(graphql_output '.data.statefulNotificationAcknowledge.notification.acknowledgedAt') [[ "$acknowledged_at" != "null" ]] || exit 1 } + +@test "notifications: load test" { + for in $(seq 1 100); do + # create 100000 users + # And update their language to spanish + done + + # execute a trivial marketing notification +}