jellyfin-qbittorrent-monitor: fix upload
This commit is contained in:
@@ -287,10 +287,9 @@ pkgs.testers.runNixOSTest {
|
||||
assert is_throttled(), "Should be in alt speed mode during streaming"
|
||||
dl_limit = get_alt_dl_limit()
|
||||
ul_limit = get_alt_up_limit()
|
||||
# Upload should be minimal (1 KB/s = 1024 bytes/s)
|
||||
assert ul_limit == 1024, f"Upload limit should be 1024 bytes/s, got {ul_limit}"
|
||||
# Download limit should be > 0 (budget not exhausted for a single stream)
|
||||
# Both upload and download should get remaining bandwidth (proportional)
|
||||
assert dl_limit > 0, f"Download limit should be > 0, got {dl_limit}"
|
||||
assert ul_limit == dl_limit, f"Upload limit ({ul_limit}) should equal download limit ({dl_limit})"
|
||||
|
||||
# Stop playback
|
||||
playback_stop = {
|
||||
|
||||
Reference in New Issue
Block a user