Skip to content

Commit

Permalink
Removed delay from test
Browse files Browse the repository at this point in the history
  • Loading branch information
imperugo committed Jan 20, 2025
1 parent b9768e1 commit 31531ab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:
8.0.x
9.0.x
# - name: Run .NET 9 Tests
# run: dotnet test -f net9.0
# shell: bash
# env:
# REDIS_HOST: localhost
- name: Run .NET 9 Tests
run: dotnet test -f net9.0
shell: bash
env:
REDIS_HOST: localhost

- name: Run .NET 8 Tests
run: dotnet test -f net8.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ public byte[] Serialize<T>(T? item)
return default;

var jsonString = encoding.GetString(serializedObject);
return JsonConvert.DeserializeObject<T>(jsonString, settings)!;
return JsonConvert.DeserializeObject<T>(jsonString, settings);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ public async Task HashSetMultipleValues_HashGetMultipleValues_ShouldInsert_Async

// act
await Sut.GetDefaultDatabase().HashSetAsync(hashKey, map);
await Task.Delay(1000);

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

Expand Down

0 comments on commit 31531ab

Please sign in to comment.