Files
mtusi2026lab4-implementation/evidence/test-go.txt
T

80 lines
3.5 KiB
Plaintext

2026-11-20T04:53:38+03:00
make test-go
? messenger/cmd/reconcile [no test files]
? messenger/cmd/s3-init [no test files]
? messenger/cmd/s3tool [no test files]
? messenger/cmd/server [no test files]
? messenger/internal/config [no test files]
? messenger/internal/domain [no test files]
=== RUN TestSessionExpiry
--- PASS: TestSessionExpiry (3.09s)
=== RUN TestLogout
--- PASS: TestLogout (0.13s)
=== RUN TestWrongPassword
--- PASS: TestWrongPassword (0.10s)
=== RUN TestRedisUnavailable
redis: 2026/11/20 04:53:42 pool.go:770: redis: connection pool: failed to dial after 5 attempts: dial tcp 127.0.0.1:1: connect: connection refused
redis: 2026/11/20 04:53:43 pool.go:770: redis: connection pool: failed to dial after 5 attempts: dial tcp 127.0.0.1:1: connect: connection refused
redis: 2026/11/20 04:53:43 pool.go:770: redis: connection pool: failed to dial after 5 attempts: dial tcp 127.0.0.1:1: connect: connection refused
redis: 2026/11/20 04:53:44 pool.go:770: redis: connection pool: failed to dial after 5 attempts: dial tcp 127.0.0.1:1: connect: connection refused
redis: 2026/11/20 04:53:44 pool.go:770: redis: connection pool: failed to dial after 5 attempts: dial tcp 127.0.0.1:1: connect: connection refused
redis: 2026/11/20 04:53:44 pool.go:770: redis: connection pool: failed to dial after 5 attempts: dial tcp 127.0.0.1:1: connect: connection refused
--- PASS: TestRedisUnavailable (2.95s)
=== RUN TestDatabaseUnavailable
--- PASS: TestDatabaseUnavailable (0.17s)
=== RUN TestInvalidJSON
--- PASS: TestInvalidJSON (0.01s)
=== RUN TestForeignChat
--- PASS: TestForeignChat (0.18s)
=== RUN TestEmptyMessage
redis: 2026/11/20 04:53:45 pool.go:770: redis: connection pool: failed to dial after 5 attempts: dial tcp 127.0.0.1:1: connect: connection refused
--- PASS: TestEmptyMessage (0.08s)
=== RUN TestDuplicateUsername
--- PASS: TestDuplicateUsername (0.10s)
=== RUN TestPaginationMultiplePages
--- PASS: TestPaginationMultiplePages (0.09s)
=== RUN TestConcurrentMessages
--- PASS: TestConcurrentMessages (0.57s)
PASS
ok messenger/internal/handler 7.474s
=== RUN TestPlanDetectsOrphansAndMissing
--- PASS: TestPlanDetectsOrphansAndMissing (0.00s)
=== RUN TestPlanHonoursGraceAndPrefix
--- PASS: TestPlanHonoursGraceAndPrefix (0.00s)
=== RUN TestPlanNeverDeletesReferencedObjects
--- PASS: TestPlanNeverDeletesReferencedObjects (0.00s)
=== RUN TestPlanOnlyReportsRowsInsidePrefix
--- PASS: TestPlanOnlyReportsRowsInsidePrefix (0.00s)
=== RUN TestPlanOutputIsSorted
--- PASS: TestPlanOutputIsSorted (0.00s)
PASS
ok messenger/internal/reconcile 0.002s
=== RUN TestRegisterUsernameRace
--- PASS: TestRegisterUsernameRace (0.02s)
=== RUN TestCreateChatRollback
--- PASS: TestCreateChatRollback (0.02s)
PASS
ok messenger/internal/repository/postgres 0.040s
? messenger/internal/repository/redis [no test files]
? messenger/internal/repository/s3 [no test files]
? messenger/internal/router [no test files]
=== RUN TestCheckFilename
--- PASS: TestCheckFilename (0.00s)
=== RUN TestDetectImageType
--- PASS: TestDetectImageType (0.00s)
=== RUN TestCheckPixels
--- PASS: TestCheckPixels (0.00s)
=== RUN TestCheckIntegrity
--- PASS: TestCheckIntegrity (0.00s)
=== RUN TestCheckMessageText
--- PASS: TestCheckMessageText (0.00s)
=== RUN TestCheckAttachmentIDs
--- PASS: TestCheckAttachmentIDs (0.00s)
=== RUN TestMessageHash
--- PASS: TestMessageHash (0.00s)
=== RUN TestReadLimited
--- PASS: TestReadLimited (0.00s)
PASS
ok messenger/internal/service 0.004s