Fix testNotificationsDeduplication_resourcesShortage
This commit is contained in:
parent
58ef5447ed
commit
70f1f1834f
@ -817,7 +817,7 @@ public class NotificationRuleApiTest extends AbstractNotificationApiTest {
|
|||||||
.cpuThreshold(1f)
|
.cpuThreshold(1f)
|
||||||
.storageThreshold(1f)
|
.storageThreshold(1f)
|
||||||
.build();
|
.build();
|
||||||
createNotificationRule(triggerConfig, "Test", "${resource} shortage", createNotificationTarget(tenantAdminUserId).getId());
|
createNotificationRule(triggerConfig, "Warning: ${resource} shortage", "${resource} shortage", createNotificationTarget(tenantAdminUserId).getId());it a
|
||||||
loginTenantAdmin();
|
loginTenantAdmin();
|
||||||
|
|
||||||
assertThat(getMyNotifications(false, 100)).size().isZero();
|
assertThat(getMyNotifications(false, 100)).size().isZero();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user