Fix testNotificationsDeduplication_resourcesShortage

This commit is contained in:
Andrii Landiak 2025-05-30 15:22:03 +03:00
parent 58ef5447ed
commit 70f1f1834f

View File

@ -817,7 +817,7 @@ public class NotificationRuleApiTest extends AbstractNotificationApiTest {
.cpuThreshold(1f)
.storageThreshold(1f)
.build();
createNotificationRule(triggerConfig, "Test", "${resource} shortage", createNotificationTarget(tenantAdminUserId).getId());
createNotificationRule(triggerConfig, "Warning: ${resource} shortage", "${resource} shortage", createNotificationTarget(tenantAdminUserId).getId());it a
loginTenantAdmin();
assertThat(getMyNotifications(false, 100)).size().isZero();