Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
a7f4fff
fix: Update leanp2p commit hash to working version
bismuth01 Dec 20, 2025
8f1365b
feat: Add redis feature to vcpkg for test-plans build
bismuth01 Dec 20, 2025
193a176
feat: Add ping interop test for dialer mode
bismuth01 Dec 20, 2025
22875c9
Merge branch 'qdrvm:main' into test-plans
bismuth01 Jan 28, 2026
97f6d77
feat: finished dialer in test plans
bismuth01 Jan 31, 2026
3aada1b
feat: complete basic test-plans transport test
bismuth01 Jan 31, 2026
352659c
feat: add dockerfile for test-plans debugging
bismuth01 Feb 1, 2026
1e6e342
fix: added nasm to dockerfile
bismuth01 Feb 1, 2026
7e96fd6
fix: fixed address pushing and dockerfile
bismuth01 Feb 1, 2026
52261b5
fix: fixed redis interaction and redis port parsing
bismuth01 Feb 1, 2026
3a9e3d0
refactor: decoupled preset in dockerfile for faster testing
bismuth01 Feb 1, 2026
6529bc9
fix: dialer reply status
bismuth01 Feb 1, 2026
bada3ed
feat: tested plaintext quic-v1 test-plans script
bismuth01 Feb 2, 2026
cd7b61a
refactor: testing smaller dockerfile
bismuth01 Feb 2, 2026
3bc375f
fix: fixed builder container
bismuth01 Feb 2, 2026
cb78831
fix: redis host parsing added
bismuth01 Feb 2, 2026
6d377a8
fix: Adding ip in multiaddr
bismuth01 Feb 8, 2026
8c81fc2
fix: testTimout to seconds for dialer
bismuth01 Feb 8, 2026
799b2c6
feat: upgraded transport test script to new test-plans standard
bismuth01 Feb 8, 2026
a99a53e
fix: Converting redisKey to c_str
bismuth01 Feb 8, 2026
12df304
fix: moved redis key logging
bismuth01 Feb 9, 2026
6d3b52a
fix: return statements
bismuth01 Feb 9, 2026
f54837c
fix: Added automated IP discovery
bismuth01 Feb 11, 2026
0b4af85
feat: increased time precision
bismuth01 Feb 11, 2026
c026347
fix: exit code and error logging
bismuth01 Feb 12, 2026
054591f
clang-format
turuslan Feb 13, 2026
3a8a3a1
refactor
turuslan Feb 13, 2026
3e0206d
fix: reference update to leanp2p
bismuth01 Feb 17, 2026
6aa3e5a
refactor: changing test-plans names for readability
bismuth01 Feb 17, 2026
bdea41d
refactor: Updating CMake presets for test-plans
bismuth01 Feb 17, 2026
a28bc4a
fix: update CMake list option
bismuth01 Feb 17, 2026
c409570
remove ENABLE_REDIS
turuslan Feb 17, 2026
548b781
Merge branch 'main' into test-plans
turuslan Feb 17, 2026
16ab5b2
fix: Add exit in TRY_OR_SL_FATAL if no value
bismuth01 Mar 19, 2026
306c82e
fix(test-plans): Add random and move ping loop to listener only
bismuth01 Jun 27, 2026
33d75f1
feat(test-plans): Increase measurement precision to microseconds
bismuth01 Jun 27, 2026
1aa27f1
fix(test-plans): Output results to terminal buffer
bismuth01 Jun 27, 2026
ad267d5
pr review
turuslan Jun 29, 2026
04151c0
Merge branch 'main' into tmp-bismuth
turuslan Jun 29, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions include/libp2p/log/simple.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ namespace libp2p {
sinks:
- name: console
type: console
stream: stderr
color: true
capacity: 4
latency: 0
Expand Down
20 changes: 10 additions & 10 deletions test-plans/transport_interop/test_plans_ping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#include <random>
#include "../common.hpp"

using FloatMs = std::chrono::duration<float, std::milli>;

int main() {
setlinebuf(stdout);
setlinebuf(stderr);
Expand Down Expand Up @@ -86,7 +88,6 @@ int main() {

host->start();
host->listenProtocol(ping);
ping->start();

if (isDialer) {
auto address_str =
Expand Down Expand Up @@ -121,21 +122,20 @@ int main() {
SL_INFO(log, "Ping successful");

auto handShakePlusOneRTT_ms =
std::chrono::duration_cast<std::chrono::milliseconds>(
handShakeEnd - handShakeStart);
auto ping_rtt_ms =
std::chrono::duration_cast<std::chrono::milliseconds>(ping_rtt);
std::chrono::duration_cast<FloatMs>(handShakeEnd - handShakeStart);
auto ping_rtt_ms = std::chrono::duration_cast<FloatMs>(ping_rtt);

SL_INFO(log, "latency:");
SL_INFO(
log, " handshake_plus_one_rtt: {}", handShakePlusOneRTT_ms.count());
SL_INFO(log, " ping_rtt: {}", ping_rtt_ms.count());
SL_INFO(log, " unit: ms");
fmt::println("latency:");
fmt::println(" handshake_plus_one_rtt: {}",
handShakePlusOneRTT_ms.count());
fmt::println(" ping_rtt: {}", ping_rtt_ms.count());
fmt::println(" unit: ms");

io_context->stop();
});
io_context->run_for(timeout.remaining());
} else {
ping->start();
TRY_OR_SL_FATAL(host->listen(sample_peer.listen),
log,
"Error listening on {}: {}",
Expand Down
Loading