Skip to content

Commit

Permalink
Add satellite seeded bbr1 test
Browse files Browse the repository at this point in the history
  • Loading branch information
huitema committed Nov 26, 2024
1 parent ac3b4fd commit fabaa7d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions PerfAndStressTest/PerfAndStressTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ namespace PerfAndStressTest
Assert::AreEqual(ret, 0);
}

TEST_METHOD(satellite_seeded_bbr1)
{
int ret = satellite_seeded_bbr1_test();

Assert::AreEqual(ret, 0);
}

TEST_METHOD(satellite_loss)
{
int ret = satellite_loss_test();
Expand Down
1 change: 1 addition & 0 deletions picoquic_t/picoquic_t.c
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ static const picoquic_test_def_t test_table[] = {
{ "high_latency_probeRTT", high_latency_probeRTT_test },
{ "satellite_basic", satellite_basic_test },
{ "satellite_seeded", satellite_seeded_test },
{ "satellite_seeded_bbr1", satellite_seeded_bbr1_test },
{ "satellite_loss", satellite_loss_test },
{ "satellite_loss_fc", satellite_loss_fc_test},
{ "satellite_jitter", satellite_jitter_test },
Expand Down
1 change: 1 addition & 0 deletions picoquictest/picoquictest.h
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ int cubic_test();
int cubic_jitter_test();
int satellite_basic_test();
int satellite_seeded_test();
int satellite_seeded_bbr1_test();
int satellite_loss_test();
int satellite_loss_fc_test();
int satellite_jitter_test();
Expand Down
6 changes: 6 additions & 0 deletions picoquictest/satellite_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,12 @@ int satellite_seeded_test()
return satellite_test_one(picoquic_bbr_algorithm, 100000000, 4900000, 250, 3, 0, 0, 0, 1, 0, 0);
}

int satellite_seeded_bbr1_test()
{
/* Simulate remembering RTT and BW from previous connection */
return satellite_test_one(picoquic_bbr1_algorithm, 100000000, 4900000, 250, 3, 0, 0, 0, 1, 0, 0);
}

int satellite_loss_test()
{
/* Should be less than 10 sec per draft etosat. */
Expand Down

0 comments on commit fabaa7d

Please sign in to comment.