Files
google-labs-jules[bot]andPR0M3TH3AN e1400f32a5 refactor: improve test determinism by removing time.sleep
Replaced non-deterministic `time.sleep` calls with active polling loops or
thread joins in `src/tests/` to improve test determinism and reliability.
Modified `test_unlock_sync.py`, `test_nostr_sdk_workflow.py`,
`test_background_relay_check.py`, `test_offline_mode_behavior.py`, and
`test_nostr_index_size.py`.
Generated integrity and audit reports in `reports/test-audit/`.
Completed the scheduler rotation by publishing completion logic and
task log file to `torch/task-logs/daily/`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-03-01 02:59:43 +00:00

60 lines
1.1 KiB
JSON

[
{
"file": "src/tests/test_unlock_sync.py",
"issues": [
"Found time.sleep()"
]
},
{
"file": "src/tests/test_nostr_real.py",
"issues": [
"Found time.sleep()",
"Found @pytest.mark.skip"
]
},
{
"file": "src/tests/test_nostr_sdk_workflow.py",
"issues": [
"Found time.sleep()"
]
},
{
"file": "src/tests/test_nostr_index_size.py",
"issues": [
"Found time.sleep()",
"Found @pytest.mark.skip",
"No obvious assertions found"
]
},
{
"file": "src/tests/test_file_lock.py",
"issues": [
"Found time.sleep()",
"Found @pytest.mark.skip"
]
},
{
"file": "src/tests/test_background_relay_check.py",
"issues": [
"Found time.sleep()"
]
},
{
"file": "src/tests/test_portable_backup.py",
"issues": [
"Found @pytest.mark.skip"
]
},
{
"file": "src/tests/test_offline_mode_behavior.py",
"issues": [
"Found time.sleep()"
]
},
{
"file": "src/tests/test_file_locking.py",
"issues": [
"Found @pytest.mark.skip"
]
}
]