Commit Graph

17 Commits

Author SHA1 Message Date
Arvid Norberg 2eeb6a1e0c fix issue in test_disk_io simulation event queue 2025-03-29 16:24:12 +01:00
arvidn 24fbc1c9a7 extend test_transfer to stop and resume from resume-data 2022-12-29 21:35:04 +01:00
arvidn d3966ab486 post torrent_removed_alert after actually removing it from the disk subsystem 2022-12-29 21:35:04 +01:00
arvidn cf678a9d62 extend transfer test matrix to include odd piece sizes and web seeds 2022-12-28 17:27:59 +01:00
arvidn e950d14775 fix uses of deprecated functions in simulations 2022-09-23 17:04:16 +02:00
arvidn 096544cfd1 factor out test_transfer_matrix into its own test executable 2021-12-08 08:15:36 +01:00
arvidn 0f8e466d5b improve merkle_tree tests by using an odd number of blocks 2021-10-26 12:48:00 +02:00
arvidn 34d78c500d test_disk_io.set_files 2021-10-26 12:48:00 +02:00
arvidn aa08941afc add support for larger pieces and multiple files in test_transfer 2021-09-27 10:58:46 +02:00
arvidn 139bf34b0c test receiving corrupt data 2021-09-11 12:57:50 +02:00
arvidn b1227d0297 improve simulated disk I/O to support reading unwritten pieces 2021-09-09 09:26:13 +02:00
arvidn 4bb9af9988 minor simplification to test_disk_io 2021-09-01 14:11:12 +02:00
arvidn 73cfd18660 fix simulated disk io to support arbitrary pad files. add test 2021-07-12 14:41:25 -07:00
arvidn b9f8b5822f fix support for empty callbacks in simulated disk I/O 2021-07-12 14:41:25 -07:00
arvidn 1ff222cfb6 support pad files in test_disk_io 2021-06-13 11:14:37 +02:00
arvidn c825113a40 use simulated disk in test_swarm 2021-05-07 08:48:58 +02:00
arvidn face5f0b93 add simulated disk I/O to the simulations, and use it in test_transfers. Add tests exercising the disk full condition, and ensure an auto-managed torrent will eventually recover, once there is disk space available 2021-05-05 14:24:03 +02:00