70 lines
5.6 KiB
Plaintext
70 lines
5.6 KiB
Plaintext
date: 2026-11-05T18:47:00.548192+00:00 commit: 7fc911c332aefe33285ea9e7811c37abd9bb20a6
|
|
environment: COMPOSE_PROJECT_NAME=mtusi2026lab3-grade3-20261105 LB_HTTP_PORT=18083 LB_STATS_PORT=23083 API_REPLICAS=2 NO_PROXY=localhost,127.0.0.1,::1
|
|
$ make student-test PYTEST_ARGS=-vv
|
|
.venv/bin/pytest -vv
|
|
============================= test session starts ==============================
|
|
platform darwin -- Python 3.14.5, pytest-9.1.1, pluggy-1.6.0 -- <repo>/.venv/bin/python
|
|
cachedir: .pytest_cache
|
|
rootdir: <repo>
|
|
configfile: pyproject.toml
|
|
testpaths: student-tests
|
|
plugins: asyncio-1.4.0, anyio-4.15.1
|
|
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function
|
|
collecting ... collected 282 items / 12 deselected / 270 selected
|
|
|
|
student-tests/api/test_access.py::test_outsider_gets_404_on_chat PASSED [ 0%]
|
|
student-tests/api/test_access.py::test_unknown_chat_is_indistinguishable_from_foreign PASSED [ 0%]
|
|
student-tests/api/test_access.py::test_outsider_cannot_write PASSED [ 1%]
|
|
student-tests/api/test_access.py::test_outsider_cannot_read_history PASSED [ 1%]
|
|
student-tests/api/test_access.py::test_access_checked_before_body PASSED [ 1%]
|
|
student-tests/api/test_access.py::test_chat_list_hides_foreign_chats PASSED [ 2%]
|
|
student-tests/api/test_access.py::test_403_is_never_used PASSED [ 2%]
|
|
student-tests/api/test_access.py::test_request_shape_is_checked_before_access PASSED [ 2%]
|
|
student-tests/api/test_access.py::test_outsider_does_not_wait_for_members_lock PASSED [ 3%]
|
|
student-tests/api/test_bounded_contexts.py::test_identity_does_not_know_about_messaging PASSED [ 3%]
|
|
student-tests/api/test_bounded_contexts.py::test_domains_do_not_import_infrastructure PASSED [ 4%]
|
|
student-tests/api/test_bounded_contexts.py::test_core_layers_do_not_import_pydantic PASSED [ 4%]
|
|
student-tests/api/test_bounded_contexts.py::test_shared_knows_nothing_about_zones PASSED [ 4%]
|
|
student-tests/api/test_bounded_contexts.py::test_shared_core_is_free_of_transport PASSED [ 5%]
|
|
student-tests/api/test_bounded_contexts.py::test_shared_core_holds_only_platform PASSED [ 5%]
|
|
student-tests/api/test_bounded_contexts.py::test_shared_entrypoints_hold_only_transport PASSED [ 5%]
|
|
student-tests/api/test_bounded_contexts.py::test_every_zone_owns_its_errors_events_and_commands PASSED [ 6%]
|
|
student-tests/api/test_bounded_contexts.py::test_every_zone_owns_its_http_layer PASSED [ 6%]
|
|
student-tests/api/test_bounded_contexts.py::test_only_main_knows_both_zones PASSED [ 7%]
|
|
student-tests/api/test_bounded_contexts.py::test_application_has_no_separate_entrypoints_root PASSED [ 7%]
|
|
student-tests/api/test_bounded_contexts.py::test_shared_source_mentions_no_domain_vocabulary PASSED [ 7%]
|
|
student-tests/api/test_bounded_contexts.py::test_shared_declares_no_concrete_commands_or_events PASSED [ 8%]
|
|
student-tests/api/test_bounded_contexts.py::test_shared_has_no_test_doubles PASSED [ 8%]
|
|
student-tests/api/test_bounded_contexts.py::test_zone_errors_do_not_leak_transport_codes PASSED [ 8%]
|
|
student-tests/api/test_bounded_contexts.py::test_sql_of_each_zone_reads_only_its_tables PASSED [ 9%]
|
|
student-tests/api/test_bounded_contexts.py::test_messaging_does_not_import_identity_at_all PASSED [ 9%]
|
|
student-tests/api/test_bounded_contexts.py::test_sqlalchemy_stays_in_infrastructure_and_asyncpg_is_only_a_driver PASSED [ 10%]
|
|
student-tests/api/test_cache.py::test_second_check_is_served_from_cache PASSED [ 10%]
|
|
student-tests/api/test_cache.py::test_logout_writes_tombstone_before_database PASSED [ 10%]
|
|
student-tests/api/test_cache.py::test_logout_rejected_by_database_changes_nothing PASSED [ 11%]
|
|
student-tests/api/test_cache.py::test_fill_racing_with_logout_does_not_revive_token PASSED [ 11%]
|
|
student-tests/api/test_cache.py::test_flushall_loses_nothing PASSED [ 11%]
|
|
student-tests/api/test_cache.py::test_unreachable_cache_is_bypassed_without_anonymous_access PASSED [ 12%]
|
|
student-tests/api/test_concurrency.py::test_hundred_messages_from_ten_clients PASSED [ 12%]
|
|
student-tests/api/test_concurrency.py::test_history_follows_the_clock_but_never_moves_back PASSED [ 12%]
|
|
student-tests/api/test_concurrency.py::test_parallel_registration_keeps_username_unique PASSED [ 13%]
|
|
student-tests/api/test_concurrency.py::test_parallel_chat_creation_is_atomic PASSED [ 13%]
|
|
student-tests/api/test_consistency.py::test_registration_is_visible_to_chats_immediately PASSED [ 14%]
|
|
student-tests/api/test_consistency.py::test_parallel_registrations_are_all_usable_as_members PASSED [ 14%]
|
|
student-tests/api/test_consistency.py::test_rejected_registration_leaves_no_trace PASSED [ 14%]
|
|
student-tests/api/test_consistency.py::test_failed_chat_creation_rolls_back_both_tables PASSED [ 15%]
|
|
student-tests/api/test_consistency.py::test_rejected_message_does_not_enter_history PASSED [ 15%]
|
|
student-tests/api/test_consistency.py::test_confirmed_write_is_visible_to_next_read PASSED [ 15%]
|
|
student-tests/api/test_consistency.py::test_parallel_writes_across_zones_keep_counts_consistent PASSED [ 16%]
|
|
student-tests/api/test_consistency.py::test_chat_membership_survives_parallel_reads_and_writes PASSED [ 16%]
|
|
student-tests/api/test_drain.py::test_draining_replica_is_not_ready_but_alive PASSED [ 17%]
|
|
student-tests/api/test_drain.py::test_sigterm_leaves_rotation_then_closes_and_cancels_stuck_requests
|
|
|
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! KeyboardInterrupt !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
<repo>/student-tests/api/test_drain.py:101: KeyboardInterrupt
|
|
(to show a full traceback on KeyboardInterrupt use --full-trace)
|
|
================ 46 passed, 12 deselected in 275.91s (0:04:35) =================
|
|
make: *** [student-test] Error 2
|
|
|
|
exit_code: 2 elapsed_seconds: 276.378
|