Skip to content

Commit 31531ab

Browse files
committed
Removed delay from test
1 parent b9768e1 commit 31531ab

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.github/workflows/dotnetcore.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939
8.0.x
4040
9.0.x
4141
42-
# - name: Run .NET 9 Tests
43-
# run: dotnet test -f net9.0
44-
# shell: bash
45-
# env:
46-
# REDIS_HOST: localhost
42+
- name: Run .NET 9 Tests
43+
run: dotnet test -f net9.0
44+
shell: bash
45+
env:
46+
REDIS_HOST: localhost
4747

4848
- name: Run .NET 8 Tests
4949
run: dotnet test -f net8.0

src/serializers/StackExchange.Redis.Extensions.Newtonsoft/NewtonsoftSerializer.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ public byte[] Serialize<T>(T? item)
5454
return default;
5555

5656
var jsonString = encoding.GetString(serializedObject);
57-
return JsonConvert.DeserializeObject<T>(jsonString, settings)!;
57+
return JsonConvert.DeserializeObject<T>(jsonString, settings);
5858
}
5959
}

tests/StackExchange.Redis.Extensions.Core.Tests/CacheClientTestBase.Hash.cs

-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ public async Task HashSetMultipleValues_HashGetMultipleValues_ShouldInsert_Async
8787

8888
// act
8989
await Sut.GetDefaultDatabase().HashSetAsync(hashKey, map);
90-
await Task.Delay(1000);
9190

9291
var keys = map.Keys.ToFastArray(x => (RedisValue)x);
9392

0 commit comments

Comments
 (0)