forked from mtusi2026/mtusi2026lab3
43 lines
2.1 KiB
Plaintext
43 lines
2.1 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.09s)
|
|
=== RUN TestLogout
|
|
--- PASS: TestLogout (0.08s)
|
|
=== RUN TestWrongPassword
|
|
--- PASS: TestWrongPassword (0.10s)
|
|
=== RUN TestRedisUnavailable
|
|
redis: 2026/11/06 03:16:52 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 03:16:52 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 03:16:53 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 03:16:53 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 03:16:54 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 03:16:54 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.89s)
|
|
=== RUN TestDatabaseUnavailable
|
|
--- PASS: TestDatabaseUnavailable (0.17s)
|
|
=== RUN TestInvalidJSON
|
|
--- PASS: TestInvalidJSON (0.01s)
|
|
=== RUN TestForeignChat
|
|
--- PASS: TestForeignChat (0.17s)
|
|
=== RUN TestEmptyMessage
|
|
--- PASS: TestEmptyMessage (0.08s)
|
|
=== RUN TestDuplicateUsername
|
|
--- PASS: TestDuplicateUsername (0.09s)
|
|
=== RUN TestPaginationMultiplePages
|
|
--- PASS: TestPaginationMultiplePages (0.08s)
|
|
=== RUN TestConcurrentMessages
|
|
--- PASS: TestConcurrentMessages (0.52s)
|
|
PASS
|
|
ok messenger/internal/handler 7.273s
|
|
=== RUN TestRegisterUsernameRace
|
|
--- PASS: TestRegisterUsernameRace (0.02s)
|
|
=== RUN TestCreateChatRollback
|
|
--- PASS: TestCreateChatRollback (0.02s)
|
|
PASS
|
|
ok messenger/internal/repository/postgres 0.043s
|
|
? messenger/internal/repository/redis [no test files]
|
|
? messenger/internal/router [no test files]
|
|
? messenger/internal/service [no test files]
|