forked from mtusi2026/mtusi2026lab3
24 lines
1.7 KiB
Plaintext
24 lines
1.7 KiB
Plaintext
python3 -m unittest discover -s student-tests -v
|
|
ROLLBACK: invalid second member left no chat or membership rows
|
|
CONCURRENCY: 10 clients, 100 confirmations, 100 unique messages
|
|
FAILURES: Redis/PostgreSQL -> bounded 503, live 200, anonymous 401, recovery with old session
|
|
REDIS CRASH: old session survived SIGKILL/AOF replay, expiry deadline unchanged
|
|
RACE: 10 requests, 1 created, 9 conflicts, 1 database row
|
|
test_composite_chat_rollback (test_api.APITests.test_composite_chat_rollback) ... ok
|
|
test_concurrent_messages (test_api.APITests.test_concurrent_messages) ... ok
|
|
test_cursor_binding_and_chat_pages (test_api.APITests.test_cursor_binding_and_chat_pages) ... ok
|
|
test_dependency_failures (test_api.APITests.test_dependency_failures) ... ok
|
|
test_passwords_and_authentication (test_api.APITests.test_passwords_and_authentication) ... ok
|
|
test_redis_crash_durability (test_api.APITests.test_redis_crash_durability) ... ok
|
|
test_registration_race (test_api.APITests.test_registration_race) ... ok
|
|
test_validation_and_access (test_api.APITests.test_validation_and_access) ... ok
|
|
test_expired_key_and_same_session_on_all_instances (test_replication.ReplicationTests.test_expired_key_and_same_session_on_all_instances) ... ok
|
|
test_failed_transaction_does_not_save_message_or_replay (test_replication.ReplicationTests.test_failed_transaction_does_not_save_message_or_replay) ... ok
|
|
test_key_validation_scope_conflict_and_logout (test_replication.ReplicationTests.test_key_validation_scope_conflict_and_logout) ... ok
|
|
test_parallel_replay_across_real_replicas (test_replication.ReplicationTests.test_parallel_replay_across_real_replicas) ... ok
|
|
|
|
----------------------------------------------------------------------
|
|
Ran 12 tests in 17.871s
|
|
|
|
OK
|