Commit graph

40 commits

Author SHA1 Message Date
Igor Katson
6bfb8f9e15
E2E test: wait until i am the last task properly 2024-08-21 17:39:21 +01:00
Igor Katson
d5ddf4d294
Session is now properly cleaned up 2024-08-21 17:25:00 +01:00
Igor Katson
a5abe97735
Drop check better message 2024-08-21 16:56:06 +01:00
Igor Katson
2ad5fa2f12
E2E drop check for memory leaks 2024-08-21 16:47:48 +01:00
Igor Katson
338b221e8d
clippy 2024-08-21 15:32:45 +01:00
Igor Katson
73f4d7e453
more test logs 2024-08-21 13:45:20 +01:00
Igor Katson
ea39ec787a
Enable fastresume in tests 2024-08-20 21:58:59 +01:00
Igor Katson
c4888d5123
e2e test increasing file limit 2024-08-20 21:53:43 +01:00
Igor Katson
06b5b4c6df
Update e2e test to test deletion 2024-08-19 19:31:51 +01:00
Igor Katson
e4aac7930f
make async-backtrace optional 2024-08-19 13:40:01 +01:00
Igor Katson
17353cf8e1
Timeout configurable 2024-08-19 13:19:56 +01:00
Igor Katson
7cda2c9807
async_backtrace 2024-08-19 12:35:32 +01:00
Igor Katson
6e92eec167
global timeout in e2e test 2024-08-19 12:08:46 +01:00
Igor Katson
c1775e45eb
E2E_NUM_SERVERS env var 2024-08-19 11:13:16 +01:00
Igor Katson
675aecf44b
More anyhow.context() 2024-08-18 17:20:59 +01:00
Igor Katson
76e5044d33
fix test ports 2024-08-18 16:37:59 +01:00
Igor Katson
18624d5bd8
More spans 2024-08-18 16:20:26 +01:00
Igor Katson
473edf28dd
Hash-based API in addition to integer based 2024-08-15 16:02:45 +01:00
Igor Katson
83592ca866
Session persistence rewritten completely 2024-08-15 10:40:48 +01:00
Igor Katson
98038a2db4
Fix flaky test 2024-08-14 15:11:41 +01:00
Igor Katson
c196c11860
trying to make tests work with new metadata 2024-08-14 12:14:57 +01:00
Igor Katson
35b20f754b
speed up e2e test 2024-08-14 12:09:18 +01:00
Igor Katson
d7e59f3293
rename the e2e test 2024-08-14 12:09:18 +01:00
Igor Katson
8c16239a0e
use reqwest client rather than global 2024-08-07 23:28:44 +01:00
Ivan
fdacb7bc16 Fix e2e streaming test 2024-07-21 15:11:23 +02:00
Igor Katson
eafd274a0b --defer-writes-up-to 2024-05-03 20:24:39 +04:00
Igor Katson
0b1499aa10 Make all experimental storages optional 2024-05-03 02:53:52 +04:00
Igor Katson
427f490a61 Clone storage factories... 2024-05-03 02:53:52 +04:00
Igor Katson
2c500049e8 Move around storage into folders 2024-05-03 02:53:52 +04:00
Igor Katson
d25309e358 Defer writes command line flag 2024-05-03 02:53:52 +04:00
Igor Katson
5027d8ccd1 All storage factories are generic now 2024-05-03 02:53:52 +04:00
Igor Katson
ebd4731c09 Small tweak 2024-05-02 12:29:46 +04:00
Igor Katson
e3254f97bf E2E streaming test 2024-05-02 12:29:46 +04:00
Igor Katson
5eb01ac226
Ability to change the list of files at any time, including through UI (#115)
* Now can update the list of files without pausing/unpausing

* Shrink a few functions

* Reopen write when updating files

* Todos

* opened_file abstraction

* iter_pieces_within iterator

* Simplify iter_pieces_within

* Simplify iter_pieces_within

* Add "iter_file_details"

* temporarily broken: readonly by default

* Live torrent - reopen files

* Reopen files after changing the list

* Now reopening files read only when they are completed

* Fix a bug in opened_file.rs

* update todos

* update help

* Reconnect all peers that are idling

* Add a couple fields to OpenedFile

* Add a couple fields to OpenedFile

* Small cleanups - use the new iterator where possible

* size_of_piece_in_file function

* Updating have

* Include file progress

* Almost nothing

* ugly progress bars

* bad UI, saving

* its not so bad

* Works now

* update progress bar a bit

* Reopen read-only on pause

* Zero bytes isnt too bad! Doesnt break anything

* fix per file progress bars

* progress bar not as ugly anymore?

* ui tweaks

* fix a react bug

* TODO.md update

* Fix js + TODOs

* Compute per-file progress on init

* Fix stats updating live

* Nothing

* Nothing

* cleanup ui a bit

* Nothing

* Final fixes

* Trying to fix rust 1.73

* Sorting filenames

* remove unnecessary indentation

* Remove unnecessary comment
2024-04-06 09:20:03 +01:00
Igor Katson
51d1a0b0c7 Jeez... 2024-03-30 20:46:29 +00:00
Igor Katson
048f4d1645
Add bogus peer simulation to e2e tests 2024-03-29 20:32:08 +00:00
Igor Katson
2ef5124a2d
Nothing 2024-03-29 20:16:44 +00:00
Igor Katson
56527ae8d7
Bump all e2e test timeouts 3x 2024-03-05 02:00:43 -08:00
Igor Katson
25cd3c75cc
Tests now compile but take too long on github actions 2024-03-05 01:53:41 -08:00
Igor Katson
2778d46bb3
End-to-end unit test (#90)
* First implementation of create_torrent_file

* Test harness for e2e preparing

* Saving

* Continuing test harness

* Continuing test harness

* Continuing test harness

* All servers are running

* Full e2e harness done

* Test e2e harness working fine

* Remove lints

* injecting faults

* The e2e test runs continuously

* e2e test

* Add a test for create_torrent

* Nothing

* Nothing, just tweaking the numberes

* Update tokio, remove custom tempfile shim
2024-03-05 09:18:22 +00:00