Skip to content

Commit

Permalink
fix unit test shared fasterKv log issue
Browse files Browse the repository at this point in the history
  • Loading branch information
InCerryGit committed Nov 21, 2022
1 parent 8f00a08 commit 669bfb3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ private static FasterKvCache CreateKvStore()
MemorySizeBit = 10,
PageSizeBit = 10,
ReadCacheMemorySizeBit = 10,
ReadCachePageSizeBit = 10
ReadCachePageSizeBit = 10,
LogPath = "./unit-test/faster-kv-store-object-test"
},
new IFasterKvCacheSerializer[]
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,14 @@ private static FasterKvCache<Data> CreateKvStore()
new DefaultSystemClock(),
new FasterKvCacheOptions
{
IndexCount = 16384,
MemorySizeBit = 10,
PageSizeBit = 10,
ReadCacheMemorySizeBit = 10,
ReadCachePageSizeBit = 10,
SerializerName = "MessagePack",
ExpiryKeyScanInterval = TimeSpan.FromSeconds(1)
ExpiryKeyScanInterval = TimeSpan.FromSeconds(1),
LogPath = "./unit-test/faster-kv-store-expiry-test"
},
new IFasterKvCacheSerializer[]
{
Expand Down
3 changes: 2 additions & 1 deletion tests/FasterKv.Cache.Core.Tests/KvStore/FasterKvStoreTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ private static FasterKvCache<Data> CreateKvStore()
MemorySizeBit = 10,
PageSizeBit = 10,
ReadCacheMemorySizeBit = 10,
ReadCachePageSizeBit = 10
ReadCachePageSizeBit = 10,
LogPath = "./unit-test/faster-kv-store-test"
},
new IFasterKvCacheSerializer[]
{
Expand Down

0 comments on commit 669bfb3

Please sign in to comment.