diff --git a/PerfAndStressTest/PerfAndStressTest.cpp b/PerfAndStressTest/PerfAndStressTest.cpp index f5f7c8343..a52d5109b 100644 --- a/PerfAndStressTest/PerfAndStressTest.cpp +++ b/PerfAndStressTest/PerfAndStressTest.cpp @@ -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(); diff --git a/picoquic_t/picoquic_t.c b/picoquic_t/picoquic_t.c index 504b64d96..097021b46 100644 --- a/picoquic_t/picoquic_t.c +++ b/picoquic_t/picoquic_t.c @@ -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 }, diff --git a/picoquictest/picoquictest.h b/picoquictest/picoquictest.h index bb626d573..c0fdcdf5f 100644 --- a/picoquictest/picoquictest.h +++ b/picoquictest/picoquictest.h @@ -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(); diff --git a/picoquictest/satellite_test.c b/picoquictest/satellite_test.c index 07657b05d..fbf77c4bc 100644 --- a/picoquictest/satellite_test.c +++ b/picoquictest/satellite_test.c @@ -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. */