diff --git a/src/EntityFramework.Storage/Stores/ServerSideSessionStore.cs b/src/EntityFramework.Storage/Stores/ServerSideSessionStore.cs
index fb2123fb2..3efa00faa 100644
--- a/src/EntityFramework.Storage/Stores/ServerSideSessionStore.cs
+++ b/src/EntityFramework.Storage/Stores/ServerSideSessionStore.cs
@@ -261,7 +261,7 @@ public virtual async Task DeleteSessionsAsync(SessionFilter filter, Cancellation
///
- public async Task> GetAndRemoveExpiredSessionsAsync(int count, CancellationToken cancellationToken = default)
+ public virtual async Task> GetAndRemoveExpiredSessionsAsync(int count, CancellationToken cancellationToken = default)
{
using var activity = Tracing.StoreActivitySource.StartActivity("ServerSideSessionStore.GetAndRemoveExpiredSessions");