forked from mtusi2026/mtusi2026lab2
40 lines
2.5 KiB
Plaintext
40 lines
2.5 KiB
Plaintext
# Cache consistency evidence (track 1)
|
|
# generated: 2026-10-06T14:43:46Z
|
|
# redis: localhost:6379 db=1
|
|
|
|
=== RUN TestChatRepositorySuite
|
|
=== RUN TestChatRepositorySuite/TestConcurrentColdReadsAreDeduplicated
|
|
chat_repository_test.go:167: distributed lock: 100 concurrent cold reads -> 1 source loads
|
|
=== RUN TestChatRepositorySuite/TestConcurrentColdReadsWithoutProtectionStampede
|
|
chat_repository_test.go:265: stampede demonstration: 100 concurrent reads -> 100 source loads
|
|
=== RUN TestChatRepositorySuite/TestCreateInvalidatesMemberCaches
|
|
=== RUN TestChatRepositorySuite/TestDeeperPagesBypassCache
|
|
=== RUN TestChatRepositorySuite/TestFirstPageIsCached
|
|
=== RUN TestChatRepositorySuite/TestLimitIsPartOfCacheKey
|
|
=== RUN TestChatRepositorySuite/TestMultipleInstancesShareDistributedLock
|
|
chat_repository_test.go:215: multi-instance distributed lock: 3 instances x 30 reads -> 1 source loads
|
|
--- PASS: TestChatRepositorySuite (0.14s)
|
|
--- PASS: TestChatRepositorySuite/TestConcurrentColdReadsAreDeduplicated (0.04s)
|
|
--- PASS: TestChatRepositorySuite/TestConcurrentColdReadsWithoutProtectionStampede (0.02s)
|
|
--- PASS: TestChatRepositorySuite/TestCreateInvalidatesMemberCaches (0.01s)
|
|
--- PASS: TestChatRepositorySuite/TestDeeperPagesBypassCache (0.00s)
|
|
--- PASS: TestChatRepositorySuite/TestFirstPageIsCached (0.00s)
|
|
--- PASS: TestChatRepositorySuite/TestLimitIsPartOfCacheKey (0.01s)
|
|
--- PASS: TestChatRepositorySuite/TestMultipleInstancesShareDistributedLock (0.05s)
|
|
=== RUN TestSessionRepositorySuite
|
|
=== RUN TestSessionRepositorySuite/TestCacheTTLCapAndSessionExpiry
|
|
=== RUN TestSessionRepositorySuite/TestEvictedCacheEntryReloadsFromSource
|
|
=== RUN TestSessionRepositorySuite/TestExpiredSessionIsRejected
|
|
=== RUN TestSessionRepositorySuite/TestResolveFallsBackToSourceOnMiss
|
|
=== RUN TestSessionRepositorySuite/TestResolvePopulatesCacheAndServesFromIt
|
|
=== RUN TestSessionRepositorySuite/TestRevokeEvictsCacheAndSource
|
|
--- PASS: TestSessionRepositorySuite (0.01s)
|
|
--- PASS: TestSessionRepositorySuite/TestCacheTTLCapAndSessionExpiry (0.00s)
|
|
--- PASS: TestSessionRepositorySuite/TestEvictedCacheEntryReloadsFromSource (0.00s)
|
|
--- PASS: TestSessionRepositorySuite/TestExpiredSessionIsRejected (0.00s)
|
|
--- PASS: TestSessionRepositorySuite/TestResolveFallsBackToSourceOnMiss (0.00s)
|
|
--- PASS: TestSessionRepositorySuite/TestResolvePopulatesCacheAndServesFromIt (0.00s)
|
|
--- PASS: TestSessionRepositorySuite/TestRevokeEvictsCacheAndSource (0.00s)
|
|
PASS
|
|
ok mtusi-messenger/internal/storage/redis 0.418s
|