fix errors of Degraded Operations Visibility
This commit is contained in:
@@ -45,6 +45,9 @@ public class NotificationPipelineTests : IAsyncLifetime
|
||||
await redis.GetDatabase(1).StringSetAsync(
|
||||
"threshold:POTASSIUM_MEQ_L",
|
||||
"""{"ObservationCode":"POTASSIUM_MEQ_L","CriticalLow":2.5,"WarningLow":3.5,"WarningHigh":5.0,"CriticalHigh":6.5}""");
|
||||
|
||||
RabbitMqTestHelper.PurgeNotificationQueues(
|
||||
scope.ServiceProvider.GetRequiredService<IOptions<RabbitMqOptions>>());
|
||||
}
|
||||
|
||||
public Task DisposeAsync() => Task.CompletedTask;
|
||||
@@ -88,7 +91,7 @@ public class NotificationPipelineTests : IAsyncLifetime
|
||||
// paging worker (≤6s) → DLQ (5s TTL) → escalation worker.
|
||||
// Poll instead of a fixed sleep: earlier tests may leave paging jobs queued
|
||||
// (prefetch=1), so wall-clock time varies across the full integration suite.
|
||||
var deadline = DateTimeOffset.UtcNow.AddSeconds(35);
|
||||
var deadline = DateTimeOffset.UtcNow.AddSeconds(60);
|
||||
AlertStatus status;
|
||||
do
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user