Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor internal frame tracking & time handling #29

Merged
merged 19 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixes
  • Loading branch information
DavidVollmers committed Sep 29, 2023
commit 8f23f3ade2158df46174c9384d832233f7d8540c
2 changes: 1 addition & 1 deletion tests/Ignis.Tests.Common/IgnisTestExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public static IServiceCollection AddIgnisTestServices(this IServiceCollection se
serviceCollection.AddIgnis();
serviceCollection.AddSingleton<IHostContext, TestHostContext>();
serviceCollection.AddSingleton<TimeProvider, TestTimeProvider>();

return serviceCollection;
}
}
2 changes: 1 addition & 1 deletion tests/Ignis.Tests.Common/TestTimeProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ internal class TestTimeProvider : TimeProvider
{
public override Timer CreateTimer(TimerCallback callback, object? state, TimeSpan dueTime, TimeSpan period)
{
return base.CreateTimer(callback, state, TimeSpan.Zero, TimeSpan.Zero);
return base.CreateTimer(callback, state, TimeSpan.Zero, Timeout.InfiniteTimeSpan);
}
}
Loading