Skip to content

Commit 71b7e18

Browse files
committed
Drastically improve test performance by querying event log properly..
1 parent 9c4ff36 commit 71b7e18

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/Dibix.Testing/Utilities/TestResultComposer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ private void AddLastEventLogEntries(EventLogEntryType eventLogEntryType, int cou
126126
eventLog.Entries
127127
.Cast<EventLogEntry>()
128128
.Where(x => x.EntryType == eventLogEntryType)
129-
.OrderByDescending(x => x.TimeWritten)
130129
.Take(count)
131130
.Each((x, i) => this.AddFile($"EventLog{eventLogEntryType}_{i}.txt", $@"{DateTime.Now:O}
132131
---

0 commit comments

Comments
 (0)