Victor Shyba
9524f03eac
fix test_announces
2022-03-15 15:36:00 -03:00
Victor Shyba
154c41bd8d
dont set head blob to announce on save
2022-03-15 15:36:00 -03:00
Victor Shyba
dde4a5b495
fix and test case for blob_clean after disabling network storage
2022-03-15 15:36:00 -03:00
Alex Grintsvayg
8c773151a3
let stream_update work on non-stream claims
2022-03-15 15:36:00 -03:00
Lex Berezhny
51490b36e6
fix
2022-03-15 15:36:00 -03:00
Lex Berezhny
e00dc78e1f
prevent creation of change which is below the dust threshold of 1000 dewies
2022-03-15 15:36:00 -03:00
Eugene Dubinin
dd868d5148
adds tests for guess_media_type
...
removes unnecessary comments
2022-03-15 15:36:00 -03:00
Lex Berezhny
d5ec647f46
added integration test
2022-03-15 15:35:59 -03:00
Victor Shyba
ebe351c67e
enable and test prefix search for sd hash
2022-03-15 15:35:59 -03:00
Victor Shyba
d44dc103d5
add test
2022-03-15 15:35:59 -03:00
Jeffrey Picard
683f6b366d
Update protobufs, go hub shim, and claim test.
2022-03-15 15:34:09 -03:00
Jack Robison
251cb4925a
support lists of constraints for all range fields
2022-03-15 15:34:09 -03:00
Victor Shyba
3aac113d45
test case for stream_type search on claims missing source + fix
2022-03-15 15:34:09 -03:00
Brendon J. Brewer
a850fb64c8
Rename trending
2022-03-15 15:34:09 -03:00
Jack Robison
948a58f628
improve tests
2022-03-15 15:34:09 -03:00
Jack Robison
21a2076f26
improve resolve tests
2022-03-15 15:34:09 -03:00
Jack Robison
5e73f82c23
fix effective amount for resolve/ES being off while claims/supports are unactivated
2022-03-15 15:34:09 -03:00
Jack Robison
01691dd92a
fix test_colliding_short_id
2022-03-15 15:34:09 -03:00
Victor Shyba
60969e4817
clear cache on test assertions
2022-03-15 15:34:09 -03:00
Victor Shyba
b055c25156
cache space stats from running components so status is instant
2022-03-15 15:34:09 -03:00
Victor Shyba
806857c066
download from stored announcements and dont reannounce
2022-03-15 15:34:09 -03:00
Victor Shyba
ba8a7fc351
improve disk space manager status, include more info and unify space queries
2022-03-15 15:34:09 -03:00
Victor Shyba
a36fd76eb1
normal_blobs->stream_blobs, proactive->background
2022-03-15 15:34:09 -03:00
Victor Shyba
02994164be
fix free space calculation, test it and give a margin of 10mb before starting so it doesnt insist when full
2022-03-15 15:34:09 -03:00
Victor Shyba
c3b89a896b
move more logic out of the downloader component
2022-03-15 15:34:09 -03:00
Victor Shyba
c5f6a4ca1c
announce orphan blobs manually, as that was done when save stream
2022-03-15 15:34:09 -03:00
Victor Shyba
813108b9d8
cleanup background downloader blobs from conf
2022-03-15 15:34:09 -03:00
Victor Shyba
95703b3af5
separated network seeding space metrics
2022-03-15 15:34:09 -03:00
Victor Shyba
2ceec7c3d4
don't save streams for network blobs and bypass disk space manager
2022-03-15 15:34:09 -03:00
Victor Shyba
04d2c6f013
fix unit tests from component dependency chain changes
2022-03-15 15:34:09 -03:00
Victor Shyba
8d6a7101f6
download from DHT
2022-03-15 15:34:09 -03:00
Victor Shyba
abbd8473bb
drop channel support, prepare to hook into DHT
2022-03-15 15:34:09 -03:00
Victor Shyba
02b2103d94
handle case where something that isn't a sd blob gets hit
2022-03-15 15:34:09 -03:00
Victor Shyba
85474ae381
no api yet
2022-03-15 15:34:09 -03:00
Victor Shyba
9d3c401abb
download only blobs
2022-03-15 15:34:09 -03:00
Victor Shyba
32a7d1a4a0
fix tests
2022-03-15 15:34:09 -03:00
Victor Shyba
4b88b191e7
test add/remove/list subscriptions
2022-03-15 15:34:09 -03:00
Victor Shyba
e449cd01ba
fix and test main api
2022-03-15 15:34:08 -03:00
Victor Shyba
b1db42acf4
download all blobs and check that on tests
2022-03-15 15:34:08 -03:00
Victor Shyba
fcbe8cf00b
create downloader component and initial tests
2022-03-15 15:34:08 -03:00
Victor Shyba
a1866c40f5
with the fix we no longer need to restart the stream
2022-03-15 15:34:08 -03:00
Victor Shyba
d78540f3cc
fix tests by checking there are actual blobs being deleted
2022-03-15 15:34:08 -03:00
Cristian Vicas
90aaf64b77
Bug [ #2070 ] where blob_get RPC timed out.
...
Both stream.downloader and blob_exchange.downloader paths are adding the fixed_peers list to the DHT node.
Tested jsonrpc_blob_get daemon call.
Bug [#2070 ] where blob_get RPC timed out.
Both stream.downloader and blob_exchange.downloader paths are adding the fixed_peers list to the DHT node.
Tested jsonrpc_blob_get daemon call.
2022-03-15 15:34:08 -03:00
FemtosecondLaser
77d58b82a0
Added an integration test covering the following scenario:
...
On start, if download dir is non-writable - daemon terminates with a helpful message.
2022-03-15 15:34:08 -03:00
FemtosecondLaser
a7af877e9e
Improved the readability of the tests.
2022-03-15 15:34:08 -03:00
FemtosecondLaser
25092f56be
Changed the tests to execute against a real file system instead of a fake one.
2022-03-15 15:34:08 -03:00
FemtosecondLaser
e55f9dd21e
renamed the test class to be more specific about the sut
2022-03-15 15:34:08 -03:00
FemtosecondLaser
6c10509705
removed redundant tests
...
renamed a test to be more specific about the kind of the precondition
2022-03-15 15:34:08 -03:00
FemtosecondLaser
bed2e253b2
Modified ensure_directory_exists() to check if the directory is writable by the process.
2022-03-15 15:34:08 -03:00
Jack Robison
b3705073a3
skip loading tx/claim caches in the elastic sync script when not needed
2022-03-15 15:34:08 -03:00