You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ServiceControl.AcceptanceTests/Recoverability/MessageFailures/When_ingesting_failed_message_with_missing_headers.cs
+8-5Lines changed: 8 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,8 @@ public async Task Should_be_ingested_when_minimal_required_headers_is_present()
45
45
{
46
46
FailedMessageViewfailure=null;
47
47
48
+
vartestStartTime=DateTime.UtcNow;
49
+
48
50
awaitDefine<MyContext>(c =>
49
51
{
50
52
c.AddMinimalRequiredHeaders();
@@ -60,15 +62,19 @@ await Define<MyContext>(c =>
60
62
61
63
Assert.That(failure,Is.Not.Null);
62
64
Assert.That(failure.TimeSent,Is.Null);
65
+
66
+
//No failure time will result in utc now being used
0 commit comments