Adrien Béraud
eda36c5044
tests/dhtrunner: test empty value
2026-02-22 18:45:17 -05:00
Adrien Béraud
f9cba71d51
Switch project license from GPL-3.0-or-later to MIT
2026-01-17 22:25:43 -05:00
Adrien Béraud
4fd4745647
update copyright to 2026
2026-01-17 17:09:06 -05:00
Adrien Beraud
54fd6cf64f
securedht: avoid calling identity announced callback multiple times
2025-10-10 13:59:44 -04:00
Adrien Beraud
74ed041791
tests/dhtrunner: create value as shared_ptr
2025-07-10 13:50:42 -04:00
Adrien Béraud
a1582220d6
tests: bind connect to loopback address on Windows
2025-06-15 12:46:36 -04:00
Adrien Béraud
01e9c341df
tests: use loopback address if peer bound any
...
fixes some tests on Windows
2025-06-10 18:37:19 -04:00
Adrien Béraud
c4e75ae66c
update copyright year
2025-05-22 19:07:32 -04:00
Adrien Béraud
5cfb1c6c9c
tests/dhtrunner: wait separately for two conditions
2025-05-19 23:55:37 -04:00
Adrien Beraud
c73c8c77f2
search: combine callbacks in case of multiple equivalent puts
2024-11-20 11:39:19 -05:00
Adrien Beraud
c3bb16e92f
tests: add testPutDuplicate
2024-11-20 11:39:19 -05:00
Matthew Webb
72e0a4fb6b
Fix an unused parameter warning in dhtrunnertester
...
This change eliminates the following compiler warning without reducing readability:
/home/noviv/opendht/tests/dhtrunnertester.cpp: In lambda function:
/home/noviv/opendht/tests/dhtrunnertester.cpp:292:89: warning: unused parameter ‘expired’ [-Wunused-parameter]
292 | node2.listen(key2, [&](const std::vector<std::shared_ptr<dht::Value>>& values, bool expired){
| ~~~~~^~~~~~~
2024-07-03 21:59:07 -04:00
Adrien Béraud
2e520bea4f
unit tests: make testListen run 256 times
...
Makes the test pass in many more cases.
2023-09-09 12:51:15 -04:00
Adrien Béraud
fafd2f0233
update copyright year
2023-06-02 23:16:04 -04:00
Adrien Béraud
e6971c196b
dht: fix value edition, add unit test
2023-01-27 17:31:59 -05:00
Adrien Béraud
c3ad33687e
misc: fix various warnings
2022-07-17 14:41:41 -04:00
Adrien Béraud
adeca7fa1f
tests/dhtrunner: split count per key
2022-04-25 13:48:57 -04:00
Adrien Béraud
dcd8ec7394
tests/dhtrunner: use unlimited store size
2022-04-22 20:25:18 -04:00
Adrien Béraud
51880afcce
tests/dhtrunner: consider value expiration for counting
2022-04-22 20:25:18 -04:00
Adrien Béraud
90c65fb0be
tests/dhtrunner: increase put count
2022-04-19 15:07:13 -04:00
Adrien Béraud
19a4729bf2
test/dhtrunner: use random port, add more assertions
2022-04-14 20:12:57 -04:00
Adrien Béraud
808eb688b3
tests: wait for put callback before retrieving certificate
2022-04-06 12:18:42 -04:00
Adrien Béraud
c59f951e5a
update copyright
2022-03-10 19:51:25 -05:00
Adrien Béraud
3f6738185b
tests: fix testIdOps()
2021-08-05 12:42:29 -04:00
Adrien Béraud
471d443e4a
tests: add multithread test
2021-06-07 14:45:58 -04:00
Adrien Béraud
056bc2850b
test putEncrypted(pk)
2021-06-07 14:45:58 -04:00
Adrien Béraud
f4c6c54a08
unit tests: add test for identityAnnouncedCb, putEncrypted
2021-04-16 16:11:02 -04:00
Adrien Béraud
29eb1d97f8
tests: add unit test for Dhtrunner::run(config, context)
2021-04-13 21:35:31 -04:00
Sébastien Blin
8c4a894f93
misc: replace TransId to Tid
2020-04-28 13:55:29 -04:00
Sébastien Blin
31da5b91fa
[WIP]net: add updateValues to replace Listen operations
...
Actually, packets are not retransmitted for listen operations. This
leads to some problems when they are already several values present
at one hash. Ideally, packets should be transmitted inside a request
to avoid packet loss and get all datas.
This patch breaks the compatibility with previous versions
2020-04-28 13:55:29 -04:00
Adrien Béraud
8564cf3b86
tests/dhtrunner: test put/listen for large values
2020-03-30 17:54:47 -04:00
Adrien Béraud
e76c80b8be
tests: disable rate limiting
2020-03-30 17:54:34 -04:00
Adrien Béraud
616d6fe4b8
update copyright date
2020-01-03 15:14:32 -05:00
Adrien Béraud
a60dde2e13
tests: use shutdown
2019-12-01 19:41:02 -05:00
Adrien Béraud
9b9f12d87e
tests: accept null token if callback returns false
2019-04-08 15:58:46 -04:00
Adrien Béraud
28eeee24ba
runnertester: reduce number of test values
2019-04-08 15:35:55 -04:00
Adrien Béraud
c4ec1e78e0
tests: fix occasional testListen failure
2019-04-05 10:49:35 -04:00
Adrien Béraud
f418b3651f
update copyright date
2019-03-16 12:37:23 -04:00
Adrien Béraud
87e76a5e4e
tests: reverse nodes
2018-12-26 13:03:36 -05:00
Adrien Béraud
c7604fbb8d
tests: wait for put before performing get
2018-12-26 00:56:49 -05:00
Adrien Béraud
56773baa98
unit tests: add listen test
2018-12-24 19:09:32 -05:00
Adrien Béraud
cea0d4f62e
tests: add initial unit test for DhtRunner
2018-03-21 11:22:21 -04:00