forked from mtusi2026/mtusi2026lab3
44 lines
2.3 KiB
Plaintext
44 lines
2.3 KiB
Plaintext
? messenger/cmd/server [no test files]
|
|
? messenger/internal/config [no test files]
|
|
? messenger/internal/domain [no test files]
|
|
=== RUN TestSessionExpiry
|
|
--- PASS: TestSessionExpiry (3.11s)
|
|
=== RUN TestLogout
|
|
--- PASS: TestLogout (0.13s)
|
|
=== RUN TestWrongPassword
|
|
--- PASS: TestWrongPassword (0.11s)
|
|
=== RUN TestRedisUnavailable
|
|
redis: 2026/11/06 05:07:57 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/06 05:07:57 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/06 05:07:58 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/06 05:07:58 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/06 05:07:59 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/06 05:07:59 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.94s)
|
|
=== RUN TestDatabaseUnavailable
|
|
--- PASS: TestDatabaseUnavailable (0.20s)
|
|
=== RUN TestInvalidJSON
|
|
--- PASS: TestInvalidJSON (0.01s)
|
|
=== RUN TestForeignChat
|
|
redis: 2026/11/06 05:08:00 pool.go:770: redis: connection pool: failed to dial after 5 attempts: dial tcp 127.0.0.1:1: connect: connection refused
|
|
--- PASS: TestForeignChat (0.23s)
|
|
=== RUN TestEmptyMessage
|
|
--- 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.578s
|
|
=== RUN TestRegisterUsernameRace
|
|
--- PASS: TestRegisterUsernameRace (0.07s)
|
|
=== RUN TestCreateChatRollback
|
|
--- PASS: TestCreateChatRollback (0.02s)
|
|
PASS
|
|
ok messenger/internal/repository/postgres 0.088s
|
|
? messenger/internal/repository/redis [no test files]
|
|
? messenger/internal/router [no test files]
|
|
? messenger/internal/service [no test files]
|