Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P1501
(An Untitled Masterwork)
Active
Public
Actions
Authored by
douardda
on Oct 18 2022, 11:53 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
pytest --log-level DEBUG --durations=0 swh -m kafka -k revision_from_journal_client -vv -s
[...]
12.20s call swh/provenance/tests/test_journal_client.py::test_cli_revision_from_journal_client <=== NOTE THIS
# note that test_cli_origin_from_journal_client comes before test_cli_revision_from_journal_client
# in the test_journal_client.py file, so is executed first
pytest --log-level DEBUG --durations=0 swh -m kafka -k from_journal_client -vv -s
[...]
45.19s call swh/provenance/tests/test_journal_client.py::test_cli_revision_from_journal_client <=== VS THIS
12.23s call swh/provenance/tests/test_journal_client.py::test_cli_origin_from_journal_client
# changing swh-journal's kafka_server_base() fixture from scope="session" to scope="function":
12.38s call swh/provenance/tests/test_journal_client.py::test_cli_origin_from_journal_client
12.36s call swh/provenance/tests/test_journal_client.py::test_cli_revision_from_journal_client
Event Timeline
douardda
created this paste.
Oct 18 2022, 11:53 AM
2022-10-18 11:53:03 (UTC+2)
Log In to Comment