From 192de7d2efb5a0eceab79f68870b162a1ecb1986 Mon Sep 17 00:00:00 2001 From: Cameron Bytheway Date: Mon, 28 Oct 2024 13:04:31 -0600 Subject: [PATCH] test: avoid using unstable API from insta (#2357) --- dc/s2n-quic-dc/src/event/generated.rs | 67 +++++---------- quic/s2n-quic-core/src/event.rs | 4 + quic/s2n-quic-core/src/event/generated.rs | 67 +++++---------- quic/s2n-quic-core/src/event/snapshot.rs | 79 ++++++++++++++++++ ...nap => path__ecn__tests__ecn__events.snap} | 4 +- ...__ecn__tests__on_packet_loss__events.snap} | 4 +- ...n_packet_loss_already_failed__events.snap} | 4 +- ...__ecn__tests__on_packet_sent__events.snap} | 4 +- ...cn__tests__on_timeout_capable__events.snap | 5 ++ ...cn__tests__on_timeout_failed__events.snap} | 4 +- ...=> path__ecn__tests__restart__events.snap} | 4 +- ..._restart_already_in_testing_0__events.snap | 5 ++ ...sts__validate_already_failed__events.snap} | 4 +- ...ecn__tests__validate_capable__events.snap} | 4 +- ...lidate_capable_after_restart__events.snap} | 4 +- ..._capable_ce_suppression_test__events.snap} | 4 +- ...pable_congestion_experienced__events.snap} | 4 +- ...lidate_capable_lost_ack_frame__events.snap | 5 ++ ..._capable_not_in_unknown_state__events.snap | 5 ++ ...suppression_remarked_to_ect0__events.snap} | 4 +- ...pression_remarked_to_not_ect__events.snap} | 4 +- ...ts__validate_ecn_ce_remarking__events.snap | 5 ++ ...alidate_ecn_counts_not_in_ack__events.snap | 5 ++ ..._tests__validate_ecn_decrease__events.snap | 5 ++ ...sts__validate_ect_0_remarking__events.snap | 5 ++ ...ect_0_remarking_after_restart__events.snap | 5 ++ ...tests__validate_no_ecn_counts__events.snap | 5 ++ ...idate_no_marked_packets_acked__events.snap | 5 ++ ...cn__tests__events__on_timeout_capable.snap | 5 -- ..._events__restart_already_in_testing_0.snap | 5 -- ...ents__validate_capable_lost_ack_frame.snap | 5 -- ...validate_capable_not_in_unknown_state.snap | 5 -- ...ts__events__validate_ecn_ce_remarking.snap | 5 -- ...vents__validate_ecn_counts_not_in_ack.snap | 5 -- ..._tests__events__validate_ecn_decrease.snap | 5 -- ...sts__events__validate_ect_0_remarking.snap | 5 -- ...alidate_ect_0_remarking_after_restart.snap | 5 -- ...tests__events__validate_no_ecn_counts.snap | 5 -- ...nts__validate_no_marked_packets_acked.snap | 5 -- ...acket_ack_disabled_controller__events.snap | 5 ++ ...ket_ack_not_application_space__events.snap | 5 ++ ...ack_resets_black_hole_counter__events.snap | 5 ++ ...n_packet_ack_search_requested__events.snap | 5 ++ ...n_packet_ack_within_threshold__events.snap | 5 ++ ...ithin_threshold_of_max_plpmtu__events.snap | 5 ++ ...h__mtu__tests__on_packet_loss__events.snap | 5 ++ ...ts__on_packet_loss_black_hole__events.snap | 5 ++ ...cket_loss_disabled_controller__events.snap | 5 ++ ..._loss_initial_mtu_configured__events.snap} | 4 +- ...ts__on_packet_loss_max_probes__events.snap | 5 ++ ...et_loss_not_application_space__events.snap | 5 ++ ...ts__on_packet_ack_disabled_controller.snap | 5 -- ...__on_packet_ack_not_application_space.snap | 5 -- ..._packet_ack_resets_black_hole_counter.snap | 5 -- ...vents__on_packet_ack_search_requested.snap | 5 -- ...vents__on_packet_ack_within_threshold.snap | 5 -- ...et_ack_within_threshold_of_max_plpmtu.snap | 5 -- ...h__mtu__tests__events__on_packet_loss.snap | 5 -- ...ts__events__on_packet_loss_black_hole.snap | 5 -- ...s__on_packet_loss_disabled_controller.snap | 5 -- ...ts__events__on_packet_loss_max_probes.snap | 5 -- ..._on_packet_loss_not_application_space.snap | 5 -- ...stimator__tests__app_limited__events.snap} | 4 +- ...ket_ack_implausible_ack_rate__events.snap} | 4 +- ...s__on_packet_ack_rate_sample__events.snap} | 4 +- ..._bbr__drain__events__check_drain_done.snap | 6 -- ...very__bbr__drain__events__enter_drain.snap | 5 -- ...acing__events__initialize_pacing_rate.snap | 5 -- ...ecovery__bbr__pacing__events__one_rtt.snap | 5 -- ..._bbr__pacing__events__set_pacing_rate.snap | 5 -- ...probe_bw__events__is_time_to_probe_bw.snap | 5 -- ...ry__bbr__probe_bw__events__start_down.snap | 5 -- ...__bbr__probe_bw__events__start_refill.snap | 5 -- ...very__bbr__probe_bw__events__start_up.snap | 5 -- ...r__probe_bw__events__update_ack_phase.snap | 5 -- ...ents__check_probe_rtt_enter_probe_rtt.snap | 5 -- ...vents__check_probe_rtt_exit_probe_rtt.snap | 6 -- ...__bbr__startup__events__enter_startup.snap | 5 -- ...__tests__events__bound_cwnd_for_model.snap | 6 -- ...sts__events__is_probing_for_bandwidth.snap | 6 -- ...e_decrease_larger_than_initial_window.snap | 5 -- ..._decrease_smaller_than_initial_window.snap | 5 -- ...tests__events__on_mtu_update_increase.snap | 5 -- ..._bbr__tests__events__pacing_cwnd_gain.snap | 6 -- ...r__tests__events__quantization_budget.snap | 6 -- ...rain__tests__check_drain_done__events.snap | 6 ++ ...br__drain__tests__enter_drain__events.snap | 5 ++ ...tests__initialize_pacing_rate__events.snap | 5 ++ ...acing__tests__set_pacing_rate__events.snap | 5 ++ ...__pacing__tests__test_one_rtt__events.snap | 5 ++ ...be_bw__tests__enter_probe_bw__events.snap} | 4 +- ...w__tests__is_time_to_probe_bw__events.snap | 5 ++ ...robe_bw__tests__start_cruise__events.snap} | 4 +- ...__probe_bw__tests__start_down__events.snap | 5 ++ ...probe_bw__tests__start_refill__events.snap | 5 ++ ...br__probe_bw__tests__start_up__events.snap | 5 ++ ...e_bw__tests__update_ack_phase__events.snap | 5 ++ ...eck_probe_rtt_enter_probe_rtt__events.snap | 5 ++ ...heck_probe_rtt_exit_probe_rtt__events.snap | 6 ++ ...e_rtt__tests__exit_probe_rtt__events.snap} | 4 +- ...p__tests__check_startup_done__events.snap} | 4 +- ...led_pipe_on_loss_round_start__events.snap} | 4 +- ...e_filled_pipe_on_round_start__events.snap} | 4 +- ...startup__tests__enter_startup__events.snap | 5 ++ ...__tests__bound_cwnd_for_model__events.snap | 6 ++ ...r__tests__handle_lost_packet__events.snap} | 4 +- ...ts__handle_restart_from_idle__events.snap} | 4 +- ...sts__is_probing_for_bandwidth__events.snap | 6 ++ ...se_larger_than_initial_window__events.snap | 5 ++ ...e_smaller_than_initial_window__events.snap | 5 ++ ...tests__on_mtu_update_increase__events.snap | 5 ++ ..._bbr__tests__pacing_cwnd_gain__events.snap | 6 ++ ...r__tests__quantization_budget__events.snap | 6 ++ ...ts__set_cwnd_not_filled_pipe__events.snap} | 4 +- ...tion_avoidance_after_fast_convergence.snap | 5 -- ...ongestion_avoidance_after_idle_period.snap | 5 -- ...e_decrease_larger_than_initial_window.snap | 5 -- ..._decrease_smaller_than_initial_window.snap | 5 -- ...tests__events__on_mtu_update_increase.snap | 5 -- ...s__on_packet_ack_congestion_avoidance.snap | 5 -- ...ket_ack_congestion_avoidance_max_cwnd.snap | 5 -- ..._tests__events__on_packet_ack_limited.snap | 5 -- ...tests__events__on_packet_ack_recovery.snap | 5 -- ..._ack_recovery_to_congestion_avoidance.snap | 5 -- ...ck_slow_start_to_congestion_avoidance.snap | 5 -- ...cket_ack_utilized_then_under_utilized.snap | 5 -- ...c__tests__events__on_packet_discarded.snap | 5 -- ..._cubic__tests__events__on_packet_lost.snap | 5 -- ...s__on_packet_lost_already_in_recovery.snap | 5 -- ...__on_packet_lost_below_minimum_window.snap | 5 -- ..._on_packet_lost_persistent_congestion.snap | 5 -- ..._cubic__tests__events__on_packet_sent.snap | 5 -- ...s__on_packet_sent_application_limited.snap | 5 -- ...s__on_packet_sent_fast_retransmission.snap | 5 -- ..._packet_sent_none_application_limited.snap | 5 -- ...idance_after_fast_convergence__events.snap | 5 ++ ...n_avoidance_after_idle_period__events.snap | 5 ++ ...se_larger_than_initial_window__events.snap | 5 ++ ...e_smaller_than_initial_window__events.snap | 5 ++ ...tests__on_mtu_update_increase__events.snap | 5 ++ ...cket_ack_congestion_avoidance__events.snap | 5 ++ ...congestion_avoidance_max_cwnd__events.snap | 5 ++ ..._tests__on_packet_ack_limited__events.snap | 5 ++ ...tests__on_packet_ack_recovery__events.snap | 5 ++ ...overy_to_congestion_avoidance__events.snap | 5 ++ ...start_to_congestion_avoidance__events.snap | 5 ++ ..._utilized_then_under_utilized__events.snap | 5 ++ ...c__tests__on_packet_discarded__events.snap | 5 ++ ..._cubic__tests__on_packet_lost__events.snap | 5 ++ ...cket_lost_already_in_recovery__events.snap | 5 ++ ...ket_lost_below_minimum_window__events.snap | 5 ++ ...et_lost_persistent_congestion__events.snap | 5 ++ ..._cubic__tests__on_packet_sent__events.snap | 5 ++ ...cket_sent_application_limited__events.snap | 5 ++ ...cket_sent_fast_retransmission__events.snap | 5 ++ ...sent_none_application_limited__events.snap | 5 ++ ...ests__events__earliest_departure_time.snap | 5 -- ...s__earliest_departure_time_before_now.snap | 5 -- ...ents__on_packet_sent_large_bytes_sent.snap | 5 -- ...ests__earliest_departure_time__events.snap | 5 ++ ...est_departure_time_before_now__events.snap | 5 ++ ..._packet_sent_large_bytes_sent__events.snap | 5 ++ ...cing__tests__post_slow_start__events.snap} | 4 +- ...y__pacing__tests__slow_start__events.snap} | 4 +- quic/s2n-quic-events/src/main.rs | 81 +++++-------------- ..._ack_manager__tests__activate__events.snap | 5 ++ ...ck_manager__tests__ecn_counts__events.snap | 5 ++ ...c__ack__ack_manager__events__activate.snap | 5 -- ..._ack__ack_manager__events__ecn_counts.snap | 5 -- .../dc__manager__tests__disabled__events.snap | 5 ++ ...p => dc__manager__tests__new__events.snap} | 4 +- ...anager__tests__on_mtu_updated__events.snap | 5 ++ ..._tests__on_packet_ack_client__events.snap} | 4 +- ..._tests__on_packet_ack_server__events.snap} | 4 +- ...nager__tests__on_packet_loss__events.snap} | 4 +- ...tests__on_path_secrets_ready__events.snap} | 4 +- ...tateless_reset_tokens_client__events.snap} | 4 +- ...stateless_reset_tokens_server__events.snap | 6 ++ ..._dc__manager__tests__events__disabled.snap | 5 -- ...anager__tests__events__on_mtu_updated.snap | 5 -- ...peer_dc_stateless_reset_tokens_server.snap | 6 -- ...__version__tests__client_test__events.snap | 5 ++ ...r_future_version_initial_test__events.snap | 5 ++ ...n__tests__server_initial_test__events.snap | 5 ++ ...tests__server_max_peers_test__events.snap} | 4 +- ...ts__server_other_packets_test__events.snap | 5 ++ ...tests__server_undersized_test__events.snap | 5 ++ ...n__tests__server_zerortt_test__events.snap | 5 ++ ...ndpoint__version__events__client_test.snap | 5 -- ...s__server_future_version_initial_test.snap | 5 -- ..._version__events__server_initial_test.snap | 5 -- ...on__events__server_other_packets_test.snap | 5 -- ...rsion__events__server_undersized_test.snap | 5 -- ..._version__events__server_zerortt_test.snap | 5 -- ..._abandon_all_path_challenges__events.snap} | 4 +- ...ges_if_new_path_is_validated__events.snap} | 4 +- ...onnection_migration_disabled__events.snap} | 4 +- ..._paths_amplificaiton_limited__events.snap} | 4 +- ..._paths_amplificaiton_limited__events.snap} | 4 +- ...alse_if_no_path_can_transmit__events.snap} | 4 +- ...rue_if_any_path_can_transmit__events.snap} | 4 +- ...migration_challenge_behavior__events.snap} | 4 +- ...ation_new_path_abandon_timer__events.snap} | 4 +- ...x_ack_delay_from_active_path__events.snap} | 4 +- ...do_not_add_new_path_if_client__events.snap | 5 ++ ...th_if_handshake_not_confirmed__events.snap | 5 ++ ...if_new_path_is_not_validated__events.snap} | 4 +- ...to_last_known_validated_path__events.snap} | 4 +- ...if_no_connection_id_available__events.snap | 6 ++ ..._path_challenge_is_abandoned__events.snap} | 4 +- ...if_new_path_is_not_validated__events.snap} | 4 +- ...ould_update_on_path_response__events.snap} | 4 +- ...ber_of_connection_migrations__events.snap} | 4 +- ...d_update_path_to_active_path__events.snap} | 4 +- ...urn_paths_pending_validation__events.snap} | 4 +- ...ot_update_path_to_active_path__events.snap | 6 ++ ...to_last_known_validated_path__events.snap} | 4 +- ...path_on_connection_migration__events.snap} | 4 +- ..._when_there_is_no_valid_path__events.snap} | 4 +- ...using_a_retired_connection_id__events.snap | 5 ++ ...d_after_first_server_response__events.snap | 5 ++ ...emporary_until_authenticated__events.snap} | 4 +- ..._tests__test_adding_new_path__events.snap} | 4 +- ...__test_invalid_path_fallback__events.snap} | 4 +- ...s__update_path_to_active_path__events.snap | 7 ++ ..._before_challenge_expiration__events.snap} | 4 +- ...events__do_not_add_new_path_if_client.snap | 5 -- ...d_new_path_if_handshake_not_confirmed.snap | 5 -- ...ve_path_if_no_connection_id_available.snap | 6 -- ...should_not_update_path_to_active_path.snap | 6 -- ...s__stop_using_a_retired_connection_id.snap | 5 -- ...ection_id_after_first_server_response.snap | 5 -- ...s__events__update_path_to_active_path.snap | 7 -- ...cel_abandon_timer_on_abandon__events.snap} | 4 +- ...ins_abandoned_once_abandoned__events.snap} | 4 +- ...abandon_a_validated_challenge__events.snap | 5 ++ ...__dont_abandon_disabled_state__events.snap | 5 ++ ...ge__tests__test_is_abandoned__events.snap} | 4 +- ...enge__tests__test_on_timeout__events.snap} | 4 +- ...th__tests__abandon_challenge__events.snap} | 4 +- ...th__tests__failed_validation__events.snap} | 4 +- ...one_on_challenge_abandonment__events.snap} | 4 +- ..._transmission_constraint_test__events.snap | 5 ++ ...s__dont_abandon_a_validated_challenge.snap | 5 -- ...__events__dont_abandon_disabled_state.snap | 5 -- ..._events__transmission_constraint_test.snap | 5 -- ..._and_remove_lost_packets_nothing_lost.snap | 5 -- ...s__events__on_transmit_burst_complete.snap | 5 -- ...packets_count_towards_bytes_in_flight.snap | 5 -- ...ager__tests__events__update_pto_timer.snap | 5 -- ...lled_acked_packets_pto_timer__events.snap} | 4 +- ...tect_and_remove_lost_packets__events.snap} | 4 +- ...lost_packets_early_mtu_probe__events.snap} | 4 +- ...emove_lost_packets_mtu_probe__events.snap} | 4 +- ...ove_lost_packets_nothing_lost__events.snap | 5 ++ ...istent_congestion_path_aware__events.snap} | 4 +- ...ager__tests__max_pto_backoff__events.snap} | 4 +- ...ger__tests__new_client_space__events.snap} | 4 +- ..._largest_acknowledged_packet__events.snap} | 4 +- ...ing_packet_on_different_path__events.snap} | 4 +- ...manager__tests__on_ack_frame__events.snap} | 4 +- ..._tests__on_invalid_ack_frame__events.snap} | 4 +- ...nager__tests__on_packet_sent__events.snap} | 4 +- ...t_sent_across_multiple_paths__events.snap} | 4 +- ...__manager__tests__on_timeout__events.snap} | 4 +- ...ests__on_timeout_packet_lost__events.snap} | 4 +- ...s__on_transmit_burst_complete__events.snap | 5 ++ ...han_1_ms_from_loss_threshold__events.snap} | 4 +- ...tests__persistent_congestion__events.snap} | 4 +- ...sistent_congestion_mtu_probe__events.snap} | 4 +- ..._congestion_multiple_periods__events.snap} | 4 +- ...congestion_not_ack_eliciting__events.snap} | 4 +- ...s_not_start_until_rtt_sample__events.snap} | 4 +- ...count_towards_bytes_in_flight__events.snap | 5 ++ ...d_packets_call_on_mtu_update__events.snap} | 4 +- ...ackets_congestion_controller__events.snap} | 4 +- ...s_not_cause_congestion_event__events.snap} | 4 +- ...ew_acked_packets_process_ecn__events.snap} | 4 +- ..._new_acked_packets_pto_timer__events.snap} | 4 +- ...ked_packets_update_pto_timer__events.snap} | 4 +- ...istent_congestion_path_aware__events.snap} | 4 +- ...ving_ack_from_multiple_paths__events.snap} | 4 +- ...ager__tests__update_pto_timer__events.snap | 5 ++ ...e_status__tests__client_test__events.snap} | 4 +- ...e_status__tests__server_test__events.snap} | 4 +- 285 files changed, 804 insertions(+), 818 deletions(-) create mode 100644 quic/s2n-quic-core/src/event/snapshot.rs rename quic/s2n-quic-core/src/path/ecn/snapshots/{quic__s2n-quic-core__src__path__ecn__tests__events__ecn.snap => path__ecn__tests__ecn__events.snap} (87%) rename quic/s2n-quic-core/src/path/ecn/snapshots/{quic__s2n-quic-core__src__path__ecn__tests__events__on_packet_loss.snap => path__ecn__tests__on_packet_loss__events.snap} (87%) rename quic/s2n-quic-core/src/path/ecn/snapshots/{quic__s2n-quic-core__src__path__ecn__tests__events__validate_already_failed.snap => path__ecn__tests__on_packet_loss_already_failed__events.snap} (70%) rename quic/s2n-quic-core/src/path/ecn/snapshots/{quic__s2n-quic-core__src__path__ecn__tests__events__on_packet_sent.snap => path__ecn__tests__on_packet_sent__events.snap} (70%) create mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__on_timeout_capable__events.snap rename quic/s2n-quic-core/src/path/ecn/snapshots/{quic__s2n-quic-core__src__path__ecn__tests__events__on_timeout_failed.snap => path__ecn__tests__on_timeout_failed__events.snap} (82%) rename quic/s2n-quic-core/src/path/ecn/snapshots/{quic__s2n-quic-core__src__path__ecn__tests__events__restart.snap => path__ecn__tests__restart__events.snap} (70%) create mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__restart_already_in_testing_0__events.snap rename quic/s2n-quic-core/src/path/ecn/snapshots/{quic__s2n-quic-core__src__path__ecn__tests__events__validate_ce_suppression_remarked_to_ect0.snap => path__ecn__tests__validate_already_failed__events.snap} (70%) rename quic/s2n-quic-core/src/path/ecn/snapshots/{quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable.snap => path__ecn__tests__validate_capable__events.snap} (70%) rename quic/s2n-quic-core/src/path/ecn/snapshots/{quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable_after_restart.snap => path__ecn__tests__validate_capable_after_restart__events.snap} (70%) rename quic/s2n-quic-core/src/path/ecn/snapshots/{quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable_ce_suppression_test.snap => path__ecn__tests__validate_capable_ce_suppression_test__events.snap} (70%) rename quic/s2n-quic-core/src/path/ecn/snapshots/{quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable_congestion_experienced.snap => path__ecn__tests__validate_capable_congestion_experienced__events.snap} (70%) create mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_capable_lost_ack_frame__events.snap create mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_capable_not_in_unknown_state__events.snap rename quic/s2n-quic-core/src/path/ecn/snapshots/{quic__s2n-quic-core__src__path__ecn__tests__events__on_packet_loss_already_failed.snap => path__ecn__tests__validate_ce_suppression_remarked_to_ect0__events.snap} (70%) rename quic/s2n-quic-core/src/path/ecn/snapshots/{quic__s2n-quic-core__src__path__ecn__tests__events__validate_ce_suppression_remarked_to_not_ect.snap => path__ecn__tests__validate_ce_suppression_remarked_to_not_ect__events.snap} (70%) create mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ecn_ce_remarking__events.snap create mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ecn_counts_not_in_ack__events.snap create mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ecn_decrease__events.snap create mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ect_0_remarking__events.snap create mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ect_0_remarking_after_restart__events.snap create mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_no_ecn_counts__events.snap create mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_no_marked_packets_acked__events.snap delete mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__on_timeout_capable.snap delete mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__restart_already_in_testing_0.snap delete mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable_lost_ack_frame.snap delete mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable_not_in_unknown_state.snap delete mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ecn_ce_remarking.snap delete mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ecn_counts_not_in_ack.snap delete mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ecn_decrease.snap delete mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ect_0_remarking.snap delete mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ect_0_remarking_after_restart.snap delete mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_no_ecn_counts.snap delete mode 100644 quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_no_marked_packets_acked.snap create mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_disabled_controller__events.snap create mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_not_application_space__events.snap create mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_resets_black_hole_counter__events.snap create mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_search_requested__events.snap create mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_within_threshold__events.snap create mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_within_threshold_of_max_plpmtu__events.snap create mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss__events.snap create mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss_black_hole__events.snap create mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss_disabled_controller__events.snap rename quic/s2n-quic-core/src/path/mtu/snapshots/{quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss_initial_mtu_configured.snap => path__mtu__tests__on_packet_loss_initial_mtu_configured__events.snap} (99%) create mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss_max_probes__events.snap create mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss_not_application_space__events.snap delete mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_disabled_controller.snap delete mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_not_application_space.snap delete mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_resets_black_hole_counter.snap delete mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_search_requested.snap delete mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_within_threshold.snap delete mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_within_threshold_of_max_plpmtu.snap delete mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss.snap delete mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss_black_hole.snap delete mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss_disabled_controller.snap delete mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss_max_probes.snap delete mode 100644 quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss_not_application_space.snap rename quic/s2n-quic-core/src/recovery/bandwidth/estimator/snapshots/{quic__s2n-quic-core__src__recovery__bandwidth__estimator__tests__events__app_limited.snap => recovery__bandwidth__estimator__tests__app_limited__events.snap} (82%) rename quic/s2n-quic-core/src/recovery/bandwidth/estimator/snapshots/{quic__s2n-quic-core__src__recovery__bandwidth__estimator__tests__events__on_packet_ack_implausible_ack_rate.snap => recovery__bandwidth__estimator__tests__on_packet_ack_implausible_ack_rate__events.snap} (82%) rename quic/s2n-quic-core/src/recovery/bandwidth/estimator/snapshots/{quic__s2n-quic-core__src__recovery__bandwidth__estimator__tests__events__on_packet_ack_rate_sample.snap => recovery__bandwidth__estimator__tests__on_packet_ack_rate_sample__events.snap} (87%) delete mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__drain__events__check_drain_done.snap delete mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__drain__events__enter_drain.snap delete mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__pacing__events__initialize_pacing_rate.snap delete mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__pacing__events__one_rtt.snap delete mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__pacing__events__set_pacing_rate.snap delete mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__is_time_to_probe_bw.snap delete mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__start_down.snap delete mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__start_refill.snap delete mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__start_up.snap delete mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__update_ack_phase.snap delete mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_rtt__events__check_probe_rtt_enter_probe_rtt.snap delete mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_rtt__events__check_probe_rtt_exit_probe_rtt.snap delete mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__startup__events__enter_startup.snap delete mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__bound_cwnd_for_model.snap delete mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__is_probing_for_bandwidth.snap delete mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__on_mtu_update_decrease_larger_than_initial_window.snap delete mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__on_mtu_update_decrease_smaller_than_initial_window.snap delete mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__on_mtu_update_increase.snap delete mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__pacing_cwnd_gain.snap delete mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__quantization_budget.snap create mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__drain__tests__check_drain_done__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__drain__tests__enter_drain__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__pacing__tests__initialize_pacing_rate__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__pacing__tests__set_pacing_rate__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__pacing__tests__test_one_rtt__events.snap rename quic/s2n-quic-core/src/recovery/bbr/snapshots/{quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__enter_probe_bw.snap => recovery__bbr__probe_bw__tests__enter_probe_bw__events.snap} (59%) create mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__is_time_to_probe_bw__events.snap rename quic/s2n-quic-core/src/recovery/bbr/snapshots/{quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__start_cruise.snap => recovery__bbr__probe_bw__tests__start_cruise__events.snap} (50%) create mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__start_down__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__start_refill__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__start_up__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__update_ack_phase__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_rtt__tests__check_probe_rtt_enter_probe_rtt__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_rtt__tests__check_probe_rtt_exit_probe_rtt__events.snap rename quic/s2n-quic-core/src/recovery/bbr/snapshots/{quic__s2n-quic-core__src__recovery__bbr__probe_rtt__events__exit_probe_rtt.snap => recovery__bbr__probe_rtt__tests__exit_probe_rtt__events.snap} (59%) rename quic/s2n-quic-core/src/recovery/bbr/snapshots/{quic__s2n-quic-core__src__recovery__bbr__startup__events__check_startup_done_filled_pipe_on_round_start.snap => recovery__bbr__startup__tests__check_startup_done__events.snap} (53%) rename quic/s2n-quic-core/src/recovery/bbr/snapshots/{quic__s2n-quic-core__src__recovery__bbr__startup__events__check_startup_done.snap => recovery__bbr__startup__tests__check_startup_done_filled_pipe_on_loss_round_start__events.snap} (53%) rename quic/s2n-quic-core/src/recovery/bbr/snapshots/{quic__s2n-quic-core__src__recovery__bbr__startup__events__check_startup_done_filled_pipe_on_loss_round_start.snap => recovery__bbr__startup__tests__check_startup_done_filled_pipe_on_round_start__events.snap} (53%) create mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__startup__tests__enter_startup__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__bound_cwnd_for_model__events.snap rename quic/s2n-quic-core/src/recovery/bbr/snapshots/{quic__s2n-quic-core__src__recovery__bbr__tests__events__handle_lost_packet.snap => recovery__bbr__tests__handle_lost_packet__events.snap} (59%) rename quic/s2n-quic-core/src/recovery/bbr/snapshots/{quic__s2n-quic-core__src__recovery__bbr__tests__events__handle_restart_from_idle.snap => recovery__bbr__tests__handle_restart_from_idle__events.snap} (65%) create mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__is_probing_for_bandwidth__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__on_mtu_update_decrease_larger_than_initial_window__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__on_mtu_update_decrease_smaller_than_initial_window__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__on_mtu_update_increase__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__pacing_cwnd_gain__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__quantization_budget__events.snap rename quic/s2n-quic-core/src/recovery/bbr/snapshots/{quic__s2n-quic-core__src__recovery__bbr__tests__events__set_cwnd_not_filled_pipe.snap => recovery__bbr__tests__set_cwnd_not_filled_pipe__events.snap} (73%) delete mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__congestion_avoidance_after_fast_convergence.snap delete mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__congestion_avoidance_after_idle_period.snap delete mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_mtu_update_decrease_larger_than_initial_window.snap delete mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_mtu_update_decrease_smaller_than_initial_window.snap delete mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_mtu_update_increase.snap delete mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_congestion_avoidance.snap delete mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_congestion_avoidance_max_cwnd.snap delete mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_limited.snap delete mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_recovery.snap delete mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_recovery_to_congestion_avoidance.snap delete mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_slow_start_to_congestion_avoidance.snap delete mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_utilized_then_under_utilized.snap delete mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_discarded.snap delete mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_lost.snap delete mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_lost_already_in_recovery.snap delete mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_lost_below_minimum_window.snap delete mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_lost_persistent_congestion.snap delete mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_sent.snap delete mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_sent_application_limited.snap delete mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_sent_fast_retransmission.snap delete mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_sent_none_application_limited.snap create mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__congestion_avoidance_after_fast_convergence__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__congestion_avoidance_after_idle_period__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_mtu_update_decrease_larger_than_initial_window__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_mtu_update_decrease_smaller_than_initial_window__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_mtu_update_increase__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_congestion_avoidance__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_congestion_avoidance_max_cwnd__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_limited__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_recovery__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_recovery_to_congestion_avoidance__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_slow_start_to_congestion_avoidance__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_utilized_then_under_utilized__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_discarded__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_lost__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_lost_already_in_recovery__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_lost_below_minimum_window__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_lost_persistent_congestion__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_sent__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_sent_application_limited__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_sent_fast_retransmission__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_sent_none_application_limited__events.snap delete mode 100644 quic/s2n-quic-core/src/recovery/pacing/snapshots/quic__s2n-quic-core__src__recovery__pacing__tests__events__earliest_departure_time.snap delete mode 100644 quic/s2n-quic-core/src/recovery/pacing/snapshots/quic__s2n-quic-core__src__recovery__pacing__tests__events__earliest_departure_time_before_now.snap delete mode 100644 quic/s2n-quic-core/src/recovery/pacing/snapshots/quic__s2n-quic-core__src__recovery__pacing__tests__events__on_packet_sent_large_bytes_sent.snap create mode 100644 quic/s2n-quic-core/src/recovery/pacing/snapshots/recovery__pacing__tests__earliest_departure_time__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/pacing/snapshots/recovery__pacing__tests__earliest_departure_time_before_now__events.snap create mode 100644 quic/s2n-quic-core/src/recovery/pacing/snapshots/recovery__pacing__tests__on_packet_sent_large_bytes_sent__events.snap rename quic/s2n-quic-core/src/recovery/pacing/snapshots/{quic__s2n-quic-core__src__recovery__pacing__tests__events__post_slow_start.snap => recovery__pacing__tests__post_slow_start__events.snap} (91%) rename quic/s2n-quic-core/src/recovery/pacing/snapshots/{quic__s2n-quic-core__src__recovery__pacing__tests__events__slow_start.snap => recovery__pacing__tests__slow_start__events.snap} (94%) create mode 100644 quic/s2n-quic-transport/src/ack/snapshots/ack__ack_manager__tests__activate__events.snap create mode 100644 quic/s2n-quic-transport/src/ack/snapshots/ack__ack_manager__tests__ecn_counts__events.snap delete mode 100644 quic/s2n-quic-transport/src/ack/snapshots/quic__s2n-quic-transport__src__ack__ack_manager__events__activate.snap delete mode 100644 quic/s2n-quic-transport/src/ack/snapshots/quic__s2n-quic-transport__src__ack__ack_manager__events__ecn_counts.snap create mode 100644 quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__disabled__events.snap rename quic/s2n-quic-transport/src/dc/manager/snapshots/{quic__s2n-quic-transport__src__dc__manager__tests__events__new.snap => dc__manager__tests__new__events.snap} (53%) create mode 100644 quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_mtu_updated__events.snap rename quic/s2n-quic-transport/src/dc/manager/snapshots/{quic__s2n-quic-transport__src__dc__manager__tests__events__on_packet_loss.snap => dc__manager__tests__on_packet_ack_client__events.snap} (50%) rename quic/s2n-quic-transport/src/dc/manager/snapshots/{quic__s2n-quic-transport__src__dc__manager__tests__events__on_peer_dc_stateless_reset_tokens_client.snap => dc__manager__tests__on_packet_ack_server__events.snap} (57%) rename quic/s2n-quic-transport/src/dc/manager/snapshots/{quic__s2n-quic-transport__src__dc__manager__tests__events__on_packet_ack_client.snap => dc__manager__tests__on_packet_loss__events.snap} (50%) rename quic/s2n-quic-transport/src/dc/manager/snapshots/{quic__s2n-quic-transport__src__dc__manager__tests__events__on_path_secrets_ready.snap => dc__manager__tests__on_path_secrets_ready__events.snap} (66%) rename quic/s2n-quic-transport/src/dc/manager/snapshots/{quic__s2n-quic-transport__src__dc__manager__tests__events__on_packet_ack_server.snap => dc__manager__tests__on_peer_dc_stateless_reset_tokens_client__events.snap} (57%) create mode 100644 quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_peer_dc_stateless_reset_tokens_server__events.snap delete mode 100644 quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__disabled.snap delete mode 100644 quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_mtu_updated.snap delete mode 100644 quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_peer_dc_stateless_reset_tokens_server.snap create mode 100644 quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__client_test__events.snap create mode 100644 quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_future_version_initial_test__events.snap create mode 100644 quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_initial_test__events.snap rename quic/s2n-quic-transport/src/endpoint/snapshots/{quic__s2n-quic-transport__src__endpoint__version__events__server_max_peers_test.snap => endpoint__version__tests__server_max_peers_test__events.snap} (80%) create mode 100644 quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_other_packets_test__events.snap create mode 100644 quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_undersized_test__events.snap create mode 100644 quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_zerortt_test__events.snap delete mode 100644 quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__client_test.snap delete mode 100644 quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_future_version_initial_test.snap delete mode 100644 quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_initial_test.snap delete mode 100644 quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_other_packets_test.snap delete mode 100644 quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_undersized_test.snap delete mode 100644 quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_zerortt_test.snap rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__abandon_all_path_challenges.snap => path__manager__tests__abandon_all_path_challenges__events.snap} (91%) rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__abandon_path_challenges_if_new_path_is_validated.snap => path__manager__tests__abandon_path_challenges_if_new_path_is_validated__events.snap} (93%) rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__active_connection_migration_disabled.snap => path__manager__tests__active_connection_migration_disabled__events.snap} (89%) rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__can_transmit_true_if_any_path_can_transmit.snap => path__manager__tests__amplification_limited_false_if_any_paths_amplificaiton_limited__events.snap} (79%) rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__amplification_limited_false_if_any_paths_amplificaiton_limited.snap => path__manager__tests__amplification_limited_true_if_all_paths_amplificaiton_limited__events.snap} (79%) rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__amplification_limited_true_if_all_paths_amplificaiton_limited.snap => path__manager__tests__can_transmit_false_if_no_path_can_transmit__events.snap} (79%) rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__can_transmit_false_if_no_path_can_transmit.snap => path__manager__tests__can_transmit_true_if_any_path_can_transmit__events.snap} (79%) rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__connection_migration_challenge_behavior.snap => path__manager__tests__connection_migration_challenge_behavior__events.snap} (87%) rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__connection_migration_new_path_abandon_timer.snap => path__manager__tests__connection_migration_new_path_abandon_timer__events.snap} (90%) rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__adding_new_path.snap => path__manager__tests__connection_migration_use_max_ack_delay_from_active_path__events.snap} (79%) create mode 100644 quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__do_not_add_new_path_if_client__events.snap create mode 100644 quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__do_not_add_new_path_if_handshake_not_confirmed__events.snap rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__dont_abandon_path_challenge_if_new_path_is_not_validated.snap => path__manager__tests__dont_abandon_path_challenge_if_new_path_is_not_validated__events.snap} (87%) rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__dont_promote_non_validated_path_to_last_known_validated_path.snap => path__manager__tests__dont_promote_non_validated_path_to_last_known_validated_path__events.snap} (87%) create mode 100644 quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__dont_update_path_to_active_path_if_no_connection_id_available__events.snap rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__dont_validate_path_if_path_challenge_is_abandoned.snap => path__manager__tests__dont_validate_path_if_path_challenge_is_abandoned__events.snap} (86%) rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__initiate_path_challenge_if_new_path_is_not_validated.snap => path__manager__tests__initiate_path_challenge_if_new_path_is_not_validated__events.snap} (90%) rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__last_known_validated_path_should_update_on_path_response.snap => path__manager__tests__last_known_validated_path_should_update_on_path_response__events.snap} (93%) rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__limit_number_of_connection_migrations.snap => path__manager__tests__limit_number_of_connection_migrations__events.snap} (96%) rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__promote_validated_path_to_last_known_validated_path.snap => path__manager__tests__non_probing_should_update_path_to_active_path__events.snap} (87%) rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__pending_paths_should_return_paths_pending_validation.snap => path__manager__tests__pending_paths_should_return_paths_pending_validation__events.snap} (86%) create mode 100644 quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__probing_should_not_update_path_to_active_path__events.snap rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__non_probing_should_update_path_to_active_path.snap => path__manager__tests__promote_validated_path_to_last_known_validated_path__events.snap} (87%) rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__set_path_challenge_on_active_path_on_connection_migration.snap => path__manager__tests__set_path_challenge_on_active_path_on_connection_migration__events.snap} (90%) rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__silently_return_when_there_is_no_valid_path.snap => path__manager__tests__silently_return_when_there_is_no_valid_path__events.snap} (70%) create mode 100644 quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__stop_using_a_retired_connection_id__events.snap create mode 100644 quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__switch_destination_connection_id_after_first_server_response__events.snap rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__temporary_until_authenticated.snap => path__manager__tests__temporary_until_authenticated__events.snap} (93%) rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__connection_migration_use_max_ack_delay_from_active_path.snap => path__manager__tests__test_adding_new_path__events.snap} (79%) rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__invalid_path_fallback.snap => path__manager__tests__test_invalid_path_fallback__events.snap} (90%) create mode 100644 quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__update_path_to_active_path__events.snap rename quic/s2n-quic-transport/src/path/manager/snapshots/{quic__s2n-quic-transport__src__path__manager__tests__events__validate_path_before_challenge_expiration.snap => path__manager__tests__validate_path_before_challenge_expiration__events.snap} (86%) delete mode 100644 quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__do_not_add_new_path_if_client.snap delete mode 100644 quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__do_not_add_new_path_if_handshake_not_confirmed.snap delete mode 100644 quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__dont_update_path_to_active_path_if_no_connection_id_available.snap delete mode 100644 quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__probing_should_not_update_path_to_active_path.snap delete mode 100644 quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__stop_using_a_retired_connection_id.snap delete mode 100644 quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__switch_destination_connection_id_after_first_server_response.snap delete mode 100644 quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__update_path_to_active_path.snap rename quic/s2n-quic-transport/src/path/snapshots/{quic__s2n-quic-transport__src__path__challenge__events__is_abandoned.snap => path__challenge__tests__cancel_abandon_timer_on_abandon__events.snap} (74%) rename quic/s2n-quic-transport/src/path/snapshots/{quic__s2n-quic-transport__src__path__challenge__events__challenge_must_remains_abandoned_once_abandoned.snap => path__challenge__tests__challenge_must_remains_abandoned_once_abandoned__events.snap} (74%) create mode 100644 quic/s2n-quic-transport/src/path/snapshots/path__challenge__tests__dont_abandon_a_validated_challenge__events.snap create mode 100644 quic/s2n-quic-transport/src/path/snapshots/path__challenge__tests__dont_abandon_disabled_state__events.snap rename quic/s2n-quic-transport/src/path/snapshots/{quic__s2n-quic-transport__src__path__challenge__events__on_timeout.snap => path__challenge__tests__test_is_abandoned__events.snap} (74%) rename quic/s2n-quic-transport/src/path/snapshots/{quic__s2n-quic-transport__src__path__challenge__events__cancel_abandon_timer_on_abandon.snap => path__challenge__tests__test_on_timeout__events.snap} (74%) rename quic/s2n-quic-transport/src/path/snapshots/{quic__s2n-quic-transport__src__path__mod__events__abandon_challenge.snap => path__tests__abandon_challenge__events.snap} (72%) rename quic/s2n-quic-transport/src/path/snapshots/{quic__s2n-quic-transport__src__path__mod__events__failed_validation.snap => path__tests__failed_validation__events.snap} (72%) rename quic/s2n-quic-transport/src/path/snapshots/{quic__s2n-quic-transport__src__path__mod__events__on_timeout_should_set_challenge_to_none_on_challenge_abandonment.snap => path__tests__on_timeout_should_set_challenge_to_none_on_challenge_abandonment__events.snap} (72%) create mode 100644 quic/s2n-quic-transport/src/path/snapshots/path__tests__transmission_constraint_test__events.snap delete mode 100644 quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__challenge__events__dont_abandon_a_validated_challenge.snap delete mode 100644 quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__challenge__events__dont_abandon_disabled_state.snap delete mode 100644 quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__mod__events__transmission_constraint_test.snap delete mode 100644 quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__detect_and_remove_lost_packets_nothing_lost.snap delete mode 100644 quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_transmit_burst_complete.snap delete mode 100644 quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__probe_packets_count_towards_bytes_in_flight.snap delete mode 100644 quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__update_pto_timer.snap rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__ack_non_congestion_controlled_acked_packets_pto_timer.snap => recovery__manager__tests__ack_non_congestion_controlled_acked_packets_pto_timer__events.snap} (85%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__detect_and_remove_lost_packets.snap => recovery__manager__tests__detect_and_remove_lost_packets__events.snap} (87%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__detect_and_remove_lost_packets_early_mtu_probe.snap => recovery__manager__tests__detect_and_remove_lost_packets_early_mtu_probe__events.snap} (76%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__detect_and_remove_lost_packets_mtu_probe.snap => recovery__manager__tests__detect_and_remove_lost_packets_mtu_probe__events.snap} (71%) create mode 100644 quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__detect_and_remove_lost_packets_nothing_lost__events.snap rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__detect_lost_packets_persistent_congestion_path_aware.snap => recovery__manager__tests__detect_lost_packets_persistent_congestion_path_aware__events.snap} (81%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__max_pto_backoff.snap => recovery__manager__tests__max_pto_backoff__events.snap} (91%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__new_client_space.snap => recovery__manager__tests__new_client_space__events.snap} (78%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__no_rtt_update_when_not_acknowledging_the_largest_acknowledged_packet.snap => recovery__manager__tests__no_rtt_update_when_not_acknowledging_the_largest_acknowledged_packet__events.snap} (92%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__no_rtt_update_when_receiving_packet_on_different_path.snap => recovery__manager__tests__no_rtt_update_when_receiving_packet_on_different_path__events.snap} (94%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__on_ack_frame.snap => recovery__manager__tests__on_ack_frame__events.snap} (97%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__on_invalid_ack_frame.snap => recovery__manager__tests__on_invalid_ack_frame__events.snap} (94%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__on_packet_sent.snap => recovery__manager__tests__on_packet_sent__events.snap} (86%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__on_packet_sent_across_multiple_paths.snap => recovery__manager__tests__on_packet_sent_across_multiple_paths__events.snap} (81%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__on_timeout.snap => recovery__manager__tests__on_timeout__events.snap} (96%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__on_timeout_packet_lost.snap => recovery__manager__tests__on_timeout_packet_lost__events.snap} (92%) create mode 100644 quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_transmit_burst_complete__events.snap rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__packet_declared_lost_less_than_1_ms_from_loss_threshold.snap => recovery__manager__tests__packet_declared_lost_less_than_1_ms_from_loss_threshold__events.snap} (82%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__persistent_congestion.snap => recovery__manager__tests__persistent_congestion__events.snap} (97%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__persistent_congestion_mtu_probe.snap => recovery__manager__tests__persistent_congestion_mtu_probe__events.snap} (92%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__persistent_congestion_multiple_periods.snap => recovery__manager__tests__persistent_congestion_multiple_periods__events.snap} (97%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__persistent_congestion_not_ack_eliciting.snap => recovery__manager__tests__persistent_congestion_not_ack_eliciting__events.snap} (92%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__persistent_congestion_period_does_not_start_until_rtt_sample.snap => recovery__manager__tests__persistent_congestion_period_does_not_start_until_rtt_sample__events.snap} (92%) create mode 100644 quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__probe_packets_count_towards_bytes_in_flight__events.snap rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_call_on_mtu_update.snap => recovery__manager__tests__process_new_acked_packets_call_on_mtu_update__events.snap} (86%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_congestion_controller.snap => recovery__manager__tests__process_new_acked_packets_congestion_controller__events.snap} (91%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_failed_ecn_validation_does_not_cause_congestion_event.snap => recovery__manager__tests__process_new_acked_packets_failed_ecn_validation_does_not_cause_congestion_event__events.snap} (90%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_process_ecn.snap => recovery__manager__tests__process_new_acked_packets_process_ecn__events.snap} (96%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_pto_timer.snap => recovery__manager__tests__process_new_acked_packets_pto_timer__events.snap} (94%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_update_pto_timer.snap => recovery__manager__tests__process_new_acked_packets_update_pto_timer__events.snap} (94%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__remove_lost_packets_persistent_congestion_path_aware.snap => recovery__manager__tests__remove_lost_packets_persistent_congestion_path_aware__events.snap} (91%) rename quic/s2n-quic-transport/src/recovery/manager/snapshots/{quic__s2n-quic-transport__src__recovery__manager__tests__events__rtt_update_when_receiving_ack_from_multiple_paths.snap => recovery__manager__tests__rtt_update_when_receiving_ack_from_multiple_paths__events.snap} (91%) create mode 100644 quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__update_pto_timer__events.snap rename quic/s2n-quic-transport/src/space/snapshots/{quic__s2n-quic-transport__src__space__handshake_status__events__client_test.snap => space__handshake_status__tests__client_test__events.snap} (56%) rename quic/s2n-quic-transport/src/space/snapshots/{quic__s2n-quic-transport__src__space__handshake_status__events__server_test.snap => space__handshake_status__tests__server_test__events.snap} (56%) diff --git a/dc/s2n-quic-dc/src/event/generated.rs b/dc/s2n-quic-dc/src/event/generated.rs index f166a6c736..034631a94e 100644 --- a/dc/s2n-quic-dc/src/event/generated.rs +++ b/dc/s2n-quic-dc/src/event/generated.rs @@ -436,6 +436,7 @@ pub mod metrics { #[cfg(any(test, feature = "testing"))] pub mod testing { use super::*; + use crate::event::snapshot::Location; use core::sync::atomic::{AtomicU32, Ordering}; use std::sync::Mutex; #[derive(Clone, Debug)] @@ -450,7 +451,7 @@ pub mod testing { return; } if let Some(location) = self.location.as_ref() { - location.snapshot(&self.output.lock().unwrap()); + location.snapshot_log(&self.output.lock().unwrap()); } } } @@ -459,7 +460,14 @@ pub mod testing { #[track_caller] pub fn snapshot() -> Self { let mut sub = Self::no_snapshot(); - sub.location = Location::try_new(); + sub.location = Location::from_thread_name(); + sub + } + #[doc = r" Creates a subscriber with snapshot assertions enabled"] + #[track_caller] + pub fn named_snapshot(name: Name) -> Self { + let mut sub = Self::no_snapshot(); + sub.location = Some(Location::new(name)); sub } #[doc = r" Creates a subscriber with snapshot assertions disabled"] @@ -505,7 +513,14 @@ pub mod testing { #[track_caller] pub fn snapshot() -> Self { let mut sub = Self::no_snapshot(); - sub.location = Location::try_new(); + sub.location = Location::from_thread_name(); + sub + } + #[doc = r" Creates a subscriber with snapshot assertions enabled"] + #[track_caller] + pub fn named_snapshot(name: Name) -> Self { + let mut sub = Self::no_snapshot(); + sub.location = Some(Location::new(name)); sub } #[doc = r" Creates a publisher with snapshot assertions disabled"] @@ -543,52 +558,8 @@ pub mod testing { return; } if let Some(location) = self.location.as_ref() { - location.snapshot(&self.output.lock().unwrap()); + location.snapshot_log(&self.output.lock().unwrap()); } } } - #[derive(Clone, Debug)] - struct Location(&'static core::panic::Location<'static>); - impl Location { - #[track_caller] - fn try_new() -> Option { - let thread = std::thread::current(); - if thread.name().map_or(false, |name| name != "main") { - Some(Self(core::panic::Location::caller())) - } else { - None - } - } - fn snapshot(&self, output: &[String]) { - if cfg!(miri) { - return; - } - use std::path::{Component, Path}; - let value = output.join("\n"); - let thread = std::thread::current(); - let function_name = thread.name().unwrap(); - let test_path = Path::new(self.0.file().trim_end_matches(".rs")); - let module_path = test_path - .components() - .filter_map(|comp| match comp { - Component::Normal(comp) => comp.to_str(), - _ => Some("_"), - }) - .chain(Some("events")) - .collect::>() - .join("::"); - let current_dir = std::env::current_dir().unwrap(); - insta::_macro_support::assert_snapshot( - insta::_macro_support::AutoName.into(), - &value, - current_dir.to_str().unwrap(), - function_name, - &module_path, - self.0.file(), - self.0.line(), - "", - ) - .unwrap() - } - } } diff --git a/quic/s2n-quic-core/src/event.rs b/quic/s2n-quic-core/src/event.rs index c53706c4a9..58c4d59058 100644 --- a/quic/s2n-quic-core/src/event.rs +++ b/quic/s2n-quic-core/src/event.rs @@ -10,6 +10,10 @@ mod generated; pub mod metrics; pub use generated::*; +#[cfg(any(test, feature = "testing"))] +#[doc(hidden)] +pub mod snapshot; + /// All event types which can be emitted from this library. pub trait Event: core::fmt::Debug { const NAME: &'static str; diff --git a/quic/s2n-quic-core/src/event/generated.rs b/quic/s2n-quic-core/src/event/generated.rs index 6c3ebd8255..5070eb2cde 100644 --- a/quic/s2n-quic-core/src/event/generated.rs +++ b/quic/s2n-quic-core/src/event/generated.rs @@ -7534,6 +7534,7 @@ pub mod metrics { #[cfg(any(test, feature = "testing"))] pub mod testing { use super::*; + use crate::event::snapshot::Location; #[derive(Clone, Debug)] pub struct Subscriber { location: Option, @@ -7602,7 +7603,7 @@ pub mod testing { return; } if let Some(location) = self.location.as_ref() { - location.snapshot(&self.output); + location.snapshot_log(&self.output); } } } @@ -7611,7 +7612,14 @@ pub mod testing { #[track_caller] pub fn snapshot() -> Self { let mut sub = Self::no_snapshot(); - sub.location = Location::try_new(); + sub.location = Location::from_thread_name(); + sub + } + #[doc = r" Creates a subscriber with snapshot assertions enabled"] + #[track_caller] + pub fn named_snapshot(name: Name) -> Self { + let mut sub = Self::no_snapshot(); + sub.location = Some(Location::new(name)); sub } #[doc = r" Creates a subscriber with snapshot assertions disabled"] @@ -8325,7 +8333,14 @@ pub mod testing { #[track_caller] pub fn snapshot() -> Self { let mut sub = Self::no_snapshot(); - sub.location = Location::try_new(); + sub.location = Location::from_thread_name(); + sub + } + #[doc = r" Creates a subscriber with snapshot assertions enabled"] + #[track_caller] + pub fn named_snapshot(name: Name) -> Self { + let mut sub = Self::no_snapshot(); + sub.location = Some(Location::new(name)); sub } #[doc = r" Creates a publisher with snapshot assertions disabled"] @@ -8793,52 +8808,8 @@ pub mod testing { return; } if let Some(location) = self.location.as_ref() { - location.snapshot(&self.output); + location.snapshot_log(&self.output); } } } - #[derive(Clone, Debug)] - struct Location(&'static core::panic::Location<'static>); - impl Location { - #[track_caller] - fn try_new() -> Option { - let thread = std::thread::current(); - if thread.name().map_or(false, |name| name != "main") { - Some(Self(core::panic::Location::caller())) - } else { - None - } - } - fn snapshot(&self, output: &[String]) { - if cfg!(miri) { - return; - } - use std::path::{Component, Path}; - let value = output.join("\n"); - let thread = std::thread::current(); - let function_name = thread.name().unwrap(); - let test_path = Path::new(self.0.file().trim_end_matches(".rs")); - let module_path = test_path - .components() - .filter_map(|comp| match comp { - Component::Normal(comp) => comp.to_str(), - _ => Some("_"), - }) - .chain(Some("events")) - .collect::>() - .join("::"); - let current_dir = std::env::current_dir().unwrap(); - insta::_macro_support::assert_snapshot( - insta::_macro_support::AutoName.into(), - &value, - current_dir.to_str().unwrap(), - function_name, - &module_path, - self.0.file(), - self.0.line(), - "", - ) - .unwrap() - } - } } diff --git a/quic/s2n-quic-core/src/event/snapshot.rs b/quic/s2n-quic-core/src/event/snapshot.rs new file mode 100644 index 0000000000..291541bac0 --- /dev/null +++ b/quic/s2n-quic-core/src/event/snapshot.rs @@ -0,0 +1,79 @@ +// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + +use core::panic; +use std::path::{Path, PathBuf}; + +#[derive(Clone, Debug)] +pub struct Location { + location: &'static panic::Location<'static>, + name: String, +} + +impl Location { + #[track_caller] + pub fn new(name: N) -> Self { + let location = panic::Location::caller(); + let name = name.to_string(); + Self { location, name } + } + + #[track_caller] + #[allow(clippy::manual_map)] // using `Option::map` messes up the track_caller + pub fn from_thread_name() -> Option { + let thread = std::thread::current(); + + // only create a location if insta can figure out the test name from the + // thread + if let Some(name) = thread.name().filter(|name| *name != "main") { + let name = name + .split("::") + .chain(Some("events")) + .collect::>() + .join("__"); + Some(Self::new(name)) + } else { + None + } + } + + pub fn snapshot_log(&self, output: &[String]) { + // miri doesn't support the syscalls that insta uses + if cfg!(miri) { + return; + } + + let value = output.join("\n"); + + let name = self.name.as_str(); + + let mut settings = insta::Settings::clone_current(); + + // we want to use the actual caller's module + settings.set_prepend_module_to_snapshot(false); + settings.set_input_file(self.location.file()); + settings.set_snapshot_path(self.snapshot_path()); + settings.set_omit_expression(true); + + settings.bind(|| { + insta::assert_snapshot!(name, &value); + }); + } + + fn snapshot_path(&self) -> PathBuf { + let ws = Path::new(concat!(env!("CARGO_MANIFEST_DIR"), "/../..")); + let file = Path::new(self.location.file()); + + let file = if file.is_relative() { + ws.join(file) + } else { + file.to_path_buf() + }; + + file.canonicalize() + .unwrap() + .parent() + .unwrap() + .join("snapshots") + } +} diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__ecn.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__ecn__events.snap similarity index 87% rename from quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__ecn.snap rename to quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__ecn__events.snap index e1565eeb1e..0cf87db386 100644 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__ecn.snap +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__ecn__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs --- EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Failed } EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Failed } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__on_packet_loss.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__on_packet_loss__events.snap similarity index 87% rename from quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__on_packet_loss.snap rename to quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__on_packet_loss__events.snap index e1565eeb1e..0cf87db386 100644 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__on_packet_loss.snap +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__on_packet_loss__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs --- EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Failed } EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Failed } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_already_failed.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__on_packet_loss_already_failed__events.snap similarity index 70% rename from quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_already_failed.snap rename to quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__on_packet_loss_already_failed__events.snap index dcb25b01cb..e380a6e59e 100644 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_already_failed.snap +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__on_packet_loss_already_failed__events.snap @@ -1,5 +1,5 @@ --- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs --- EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Failed } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__on_packet_sent.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__on_packet_sent__events.snap similarity index 70% rename from quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__on_packet_sent.snap rename to quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__on_packet_sent__events.snap index 3497245dc2..2f252f9b6d 100644 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__on_packet_sent.snap +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__on_packet_sent__events.snap @@ -1,5 +1,5 @@ --- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs --- EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Unknown } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__on_timeout_capable__events.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__on_timeout_capable__events.snap new file mode 100644 index 0000000000..51ba3bc6ae --- /dev/null +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__on_timeout_capable__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__on_timeout_failed.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__on_timeout_failed__events.snap similarity index 82% rename from quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__on_timeout_failed.snap rename to quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__on_timeout_failed__events.snap index fcc615cf50..fb97fcfc19 100644 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__on_timeout_failed.snap +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__on_timeout_failed__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs --- EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Failed } EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Testing } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__restart.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__restart__events.snap similarity index 70% rename from quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__restart.snap rename to quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__restart__events.snap index 75d6f6e610..8cc85c2f71 100644 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__restart.snap +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__restart__events.snap @@ -1,5 +1,5 @@ --- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs --- EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Testing } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__restart_already_in_testing_0__events.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__restart_already_in_testing_0__events.snap new file mode 100644 index 0000000000..51ba3bc6ae --- /dev/null +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__restart_already_in_testing_0__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ce_suppression_remarked_to_ect0.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_already_failed__events.snap similarity index 70% rename from quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ce_suppression_remarked_to_ect0.snap rename to quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_already_failed__events.snap index dcb25b01cb..e380a6e59e 100644 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ce_suppression_remarked_to_ect0.snap +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_already_failed__events.snap @@ -1,5 +1,5 @@ --- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs --- EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Failed } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_capable__events.snap similarity index 70% rename from quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable.snap rename to quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_capable__events.snap index 2b16d03a96..660ad4eb67 100644 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable.snap +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_capable__events.snap @@ -1,5 +1,5 @@ --- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs --- EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Capable } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable_after_restart.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_capable_after_restart__events.snap similarity index 70% rename from quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable_after_restart.snap rename to quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_capable_after_restart__events.snap index 2b16d03a96..660ad4eb67 100644 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable_after_restart.snap +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_capable_after_restart__events.snap @@ -1,5 +1,5 @@ --- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs --- EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Capable } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable_ce_suppression_test.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_capable_ce_suppression_test__events.snap similarity index 70% rename from quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable_ce_suppression_test.snap rename to quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_capable_ce_suppression_test__events.snap index 2b16d03a96..660ad4eb67 100644 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable_ce_suppression_test.snap +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_capable_ce_suppression_test__events.snap @@ -1,5 +1,5 @@ --- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs --- EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Capable } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable_congestion_experienced.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_capable_congestion_experienced__events.snap similarity index 70% rename from quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable_congestion_experienced.snap rename to quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_capable_congestion_experienced__events.snap index 2b16d03a96..660ad4eb67 100644 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable_congestion_experienced.snap +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_capable_congestion_experienced__events.snap @@ -1,5 +1,5 @@ --- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs --- EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Capable } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_capable_lost_ack_frame__events.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_capable_lost_ack_frame__events.snap new file mode 100644 index 0000000000..660ad4eb67 --- /dev/null +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_capable_lost_ack_frame__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs +--- +EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Capable } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_capable_not_in_unknown_state__events.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_capable_not_in_unknown_state__events.snap new file mode 100644 index 0000000000..51ba3bc6ae --- /dev/null +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_capable_not_in_unknown_state__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__on_packet_loss_already_failed.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ce_suppression_remarked_to_ect0__events.snap similarity index 70% rename from quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__on_packet_loss_already_failed.snap rename to quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ce_suppression_remarked_to_ect0__events.snap index dcb25b01cb..e380a6e59e 100644 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__on_packet_loss_already_failed.snap +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ce_suppression_remarked_to_ect0__events.snap @@ -1,5 +1,5 @@ --- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs --- EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Failed } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ce_suppression_remarked_to_not_ect.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ce_suppression_remarked_to_not_ect__events.snap similarity index 70% rename from quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ce_suppression_remarked_to_not_ect.snap rename to quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ce_suppression_remarked_to_not_ect__events.snap index dcb25b01cb..e380a6e59e 100644 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ce_suppression_remarked_to_not_ect.snap +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ce_suppression_remarked_to_not_ect__events.snap @@ -1,5 +1,5 @@ --- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs --- EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Failed } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ecn_ce_remarking__events.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ecn_ce_remarking__events.snap new file mode 100644 index 0000000000..e380a6e59e --- /dev/null +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ecn_ce_remarking__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs +--- +EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Failed } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ecn_counts_not_in_ack__events.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ecn_counts_not_in_ack__events.snap new file mode 100644 index 0000000000..e380a6e59e --- /dev/null +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ecn_counts_not_in_ack__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs +--- +EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Failed } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ecn_decrease__events.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ecn_decrease__events.snap new file mode 100644 index 0000000000..e380a6e59e --- /dev/null +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ecn_decrease__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs +--- +EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Failed } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ect_0_remarking__events.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ect_0_remarking__events.snap new file mode 100644 index 0000000000..e380a6e59e --- /dev/null +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ect_0_remarking__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs +--- +EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Failed } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ect_0_remarking_after_restart__events.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ect_0_remarking_after_restart__events.snap new file mode 100644 index 0000000000..e380a6e59e --- /dev/null +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_ect_0_remarking_after_restart__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs +--- +EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Failed } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_no_ecn_counts__events.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_no_ecn_counts__events.snap new file mode 100644 index 0000000000..51ba3bc6ae --- /dev/null +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_no_ecn_counts__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_no_marked_packets_acked__events.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_no_marked_packets_acked__events.snap new file mode 100644 index 0000000000..51ba3bc6ae --- /dev/null +++ b/quic/s2n-quic-core/src/path/ecn/snapshots/path__ecn__tests__validate_no_marked_packets_acked__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/ecn/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__on_timeout_capable.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__on_timeout_capable.snap deleted file mode 100644 index 50f82841de..0000000000 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__on_timeout_capable.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__restart_already_in_testing_0.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__restart_already_in_testing_0.snap deleted file mode 100644 index 50f82841de..0000000000 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__restart_already_in_testing_0.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable_lost_ack_frame.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable_lost_ack_frame.snap deleted file mode 100644 index 2b16d03a96..0000000000 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable_lost_ack_frame.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" ---- -EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Capable } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable_not_in_unknown_state.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable_not_in_unknown_state.snap deleted file mode 100644 index 50f82841de..0000000000 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_capable_not_in_unknown_state.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ecn_ce_remarking.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ecn_ce_remarking.snap deleted file mode 100644 index dcb25b01cb..0000000000 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ecn_ce_remarking.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" ---- -EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Failed } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ecn_counts_not_in_ack.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ecn_counts_not_in_ack.snap deleted file mode 100644 index dcb25b01cb..0000000000 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ecn_counts_not_in_ack.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" ---- -EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Failed } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ecn_decrease.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ecn_decrease.snap deleted file mode 100644 index dcb25b01cb..0000000000 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ecn_decrease.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" ---- -EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Failed } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ect_0_remarking.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ect_0_remarking.snap deleted file mode 100644 index dcb25b01cb..0000000000 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ect_0_remarking.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" ---- -EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Failed } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ect_0_remarking_after_restart.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ect_0_remarking_after_restart.snap deleted file mode 100644 index dcb25b01cb..0000000000 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_ect_0_remarking_after_restart.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" ---- -EcnStateChanged { path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, state: Failed } diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_no_ecn_counts.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_no_ecn_counts.snap deleted file mode 100644 index 50f82841de..0000000000 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_no_ecn_counts.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_no_marked_packets_acked.snap b/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_no_marked_packets_acked.snap deleted file mode 100644 index 50f82841de..0000000000 --- a/quic/s2n-quic-core/src/path/ecn/snapshots/quic__s2n-quic-core__src__path__ecn__tests__events__validate_no_marked_packets_acked.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/ecn/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_disabled_controller__events.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_disabled_controller__events.snap new file mode 100644 index 0000000000..92bf9a5bbb --- /dev/null +++ b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_disabled_controller__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/mtu/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_not_application_space__events.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_not_application_space__events.snap new file mode 100644 index 0000000000..92bf9a5bbb --- /dev/null +++ b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_not_application_space__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/mtu/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_resets_black_hole_counter__events.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_resets_black_hole_counter__events.snap new file mode 100644 index 0000000000..92bf9a5bbb --- /dev/null +++ b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_resets_black_hole_counter__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/mtu/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_search_requested__events.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_search_requested__events.snap new file mode 100644 index 0000000000..1684e74171 --- /dev/null +++ b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_search_requested__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/mtu/tests.rs +--- +MtuUpdated { path_id: 0, mtu: 1472, cause: ProbeAcknowledged, search_complete: false } diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_within_threshold__events.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_within_threshold__events.snap new file mode 100644 index 0000000000..a8a91efb0e --- /dev/null +++ b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_within_threshold__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/mtu/tests.rs +--- +MtuUpdated { path_id: 0, mtu: 1200, cause: ProbeAcknowledged, search_complete: true } diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_within_threshold_of_max_plpmtu__events.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_within_threshold_of_max_plpmtu__events.snap new file mode 100644 index 0000000000..a7ad69db06 --- /dev/null +++ b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_ack_within_threshold_of_max_plpmtu__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/mtu/tests.rs +--- +MtuUpdated { path_id: 0, mtu: 1472, cause: ProbeAcknowledged, search_complete: true } diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss__events.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss__events.snap new file mode 100644 index 0000000000..92bf9a5bbb --- /dev/null +++ b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/mtu/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss_black_hole__events.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss_black_hole__events.snap new file mode 100644 index 0000000000..f46ff24ade --- /dev/null +++ b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss_black_hole__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/mtu/tests.rs +--- +MtuUpdated { path_id: 0, mtu: 1200, cause: Blackhole, search_complete: true } diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss_disabled_controller__events.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss_disabled_controller__events.snap new file mode 100644 index 0000000000..92bf9a5bbb --- /dev/null +++ b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss_disabled_controller__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/mtu/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss_initial_mtu_configured.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss_initial_mtu_configured__events.snap similarity index 99% rename from quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss_initial_mtu_configured.snap rename to quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss_initial_mtu_configured__events.snap index 500d06ee9f..e7fff877a1 100644 --- a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss_initial_mtu_configured.snap +++ b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss_initial_mtu_configured__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-core/src/path/mtu/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/mtu/tests.rs --- MtuUpdated { path_id: 0, mtu: 1200, cause: InitialMtuPacketLost, search_complete: true } MtuUpdated { path_id: 0, mtu: 1200, cause: InitialMtuPacketLost, search_complete: true } diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss_max_probes__events.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss_max_probes__events.snap new file mode 100644 index 0000000000..92bf9a5bbb --- /dev/null +++ b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss_max_probes__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/mtu/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss_not_application_space__events.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss_not_application_space__events.snap new file mode 100644 index 0000000000..92bf9a5bbb --- /dev/null +++ b/quic/s2n-quic-core/src/path/mtu/snapshots/path__mtu__tests__on_packet_loss_not_application_space__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/path/mtu/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_disabled_controller.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_disabled_controller.snap deleted file mode 100644 index a802fde5aa..0000000000 --- a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_disabled_controller.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/mtu/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_not_application_space.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_not_application_space.snap deleted file mode 100644 index a802fde5aa..0000000000 --- a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_not_application_space.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/mtu/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_resets_black_hole_counter.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_resets_black_hole_counter.snap deleted file mode 100644 index a802fde5aa..0000000000 --- a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_resets_black_hole_counter.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/mtu/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_search_requested.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_search_requested.snap deleted file mode 100644 index f72cac3dab..0000000000 --- a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_search_requested.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/mtu/tests.rs -expression: "" ---- -MtuUpdated { path_id: 0, mtu: 1472, cause: ProbeAcknowledged, search_complete: false } diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_within_threshold.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_within_threshold.snap deleted file mode 100644 index 29bb63d9c4..0000000000 --- a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_within_threshold.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/mtu/tests.rs -expression: "" ---- -MtuUpdated { path_id: 0, mtu: 1200, cause: ProbeAcknowledged, search_complete: true } diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_within_threshold_of_max_plpmtu.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_within_threshold_of_max_plpmtu.snap deleted file mode 100644 index eb39b445a2..0000000000 --- a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_ack_within_threshold_of_max_plpmtu.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/mtu/tests.rs -expression: "" ---- -MtuUpdated { path_id: 0, mtu: 1472, cause: ProbeAcknowledged, search_complete: true } diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss.snap deleted file mode 100644 index a802fde5aa..0000000000 --- a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/mtu/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss_black_hole.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss_black_hole.snap deleted file mode 100644 index a551e0388a..0000000000 --- a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss_black_hole.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/mtu/tests.rs -expression: "" ---- -MtuUpdated { path_id: 0, mtu: 1200, cause: Blackhole, search_complete: true } diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss_disabled_controller.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss_disabled_controller.snap deleted file mode 100644 index a802fde5aa..0000000000 --- a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss_disabled_controller.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/mtu/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss_max_probes.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss_max_probes.snap deleted file mode 100644 index a802fde5aa..0000000000 --- a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss_max_probes.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/mtu/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss_not_application_space.snap b/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss_not_application_space.snap deleted file mode 100644 index a802fde5aa..0000000000 --- a/quic/s2n-quic-core/src/path/mtu/snapshots/quic__s2n-quic-core__src__path__mtu__tests__events__on_packet_loss_not_application_space.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/path/mtu/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/bandwidth/estimator/snapshots/quic__s2n-quic-core__src__recovery__bandwidth__estimator__tests__events__app_limited.snap b/quic/s2n-quic-core/src/recovery/bandwidth/estimator/snapshots/recovery__bandwidth__estimator__tests__app_limited__events.snap similarity index 82% rename from quic/s2n-quic-core/src/recovery/bandwidth/estimator/snapshots/quic__s2n-quic-core__src__recovery__bandwidth__estimator__tests__events__app_limited.snap rename to quic/s2n-quic-core/src/recovery/bandwidth/estimator/snapshots/recovery__bandwidth__estimator__tests__app_limited__events.snap index 627fbdfb0b..5b0efe3e64 100644 --- a/quic/s2n-quic-core/src/recovery/bandwidth/estimator/snapshots/quic__s2n-quic-core__src__recovery__bandwidth__estimator__tests__events__app_limited.snap +++ b/quic/s2n-quic-core/src/recovery/bandwidth/estimator/snapshots/recovery__bandwidth__estimator__tests__app_limited__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-core/src/recovery/bandwidth/estimator/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bandwidth/estimator/tests.rs --- DeliveryRateSampled { path_id: 0, rate_sample: RateSample { interval: 1s, delivered_bytes: 2600, lost_bytes: 100, ecn_ce_count: 5, is_app_limited: false, prior_delivered_bytes: 15000, bytes_in_flight: 1500, prior_lost_bytes: 0, prior_ecn_ce_count: 0, delivery_rate_bytes_per_second: 2600 } } DeliveryRateSampled { path_id: 0, rate_sample: RateSample { interval: 1s, delivered_bytes: 2601, lost_bytes: 100, ecn_ce_count: 5, is_app_limited: false, prior_delivered_bytes: 15000, bytes_in_flight: 1500, prior_lost_bytes: 0, prior_ecn_ce_count: 0, delivery_rate_bytes_per_second: 2601 } } diff --git a/quic/s2n-quic-core/src/recovery/bandwidth/estimator/snapshots/quic__s2n-quic-core__src__recovery__bandwidth__estimator__tests__events__on_packet_ack_implausible_ack_rate.snap b/quic/s2n-quic-core/src/recovery/bandwidth/estimator/snapshots/recovery__bandwidth__estimator__tests__on_packet_ack_implausible_ack_rate__events.snap similarity index 82% rename from quic/s2n-quic-core/src/recovery/bandwidth/estimator/snapshots/quic__s2n-quic-core__src__recovery__bandwidth__estimator__tests__events__on_packet_ack_implausible_ack_rate.snap rename to quic/s2n-quic-core/src/recovery/bandwidth/estimator/snapshots/recovery__bandwidth__estimator__tests__on_packet_ack_implausible_ack_rate__events.snap index 1432174a07..62da4bb284 100644 --- a/quic/s2n-quic-core/src/recovery/bandwidth/estimator/snapshots/quic__s2n-quic-core__src__recovery__bandwidth__estimator__tests__events__on_packet_ack_implausible_ack_rate.snap +++ b/quic/s2n-quic-core/src/recovery/bandwidth/estimator/snapshots/recovery__bandwidth__estimator__tests__on_packet_ack_implausible_ack_rate__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-core/src/recovery/bandwidth/estimator/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bandwidth/estimator/tests.rs --- DeliveryRateSampled { path_id: 0, rate_sample: RateSample { interval: 4s, delivered_bytes: 1500, lost_bytes: 0, ecn_ce_count: 0, is_app_limited: false, prior_delivered_bytes: 0, bytes_in_flight: 100, prior_lost_bytes: 0, prior_ecn_ce_count: 0, delivery_rate_bytes_per_second: 375 } } DeliveryRateSampled { path_id: 0, rate_sample: RateSample { interval: 5s, delivered_bytes: 1500, lost_bytes: 0, ecn_ce_count: 0, is_app_limited: false, prior_delivered_bytes: 1500, bytes_in_flight: 1600, prior_lost_bytes: 0, prior_ecn_ce_count: 0, delivery_rate_bytes_per_second: 300 } } diff --git a/quic/s2n-quic-core/src/recovery/bandwidth/estimator/snapshots/quic__s2n-quic-core__src__recovery__bandwidth__estimator__tests__events__on_packet_ack_rate_sample.snap b/quic/s2n-quic-core/src/recovery/bandwidth/estimator/snapshots/recovery__bandwidth__estimator__tests__on_packet_ack_rate_sample__events.snap similarity index 87% rename from quic/s2n-quic-core/src/recovery/bandwidth/estimator/snapshots/quic__s2n-quic-core__src__recovery__bandwidth__estimator__tests__events__on_packet_ack_rate_sample.snap rename to quic/s2n-quic-core/src/recovery/bandwidth/estimator/snapshots/recovery__bandwidth__estimator__tests__on_packet_ack_rate_sample__events.snap index bed6f1ed5d..7487786865 100644 --- a/quic/s2n-quic-core/src/recovery/bandwidth/estimator/snapshots/quic__s2n-quic-core__src__recovery__bandwidth__estimator__tests__events__on_packet_ack_rate_sample.snap +++ b/quic/s2n-quic-core/src/recovery/bandwidth/estimator/snapshots/recovery__bandwidth__estimator__tests__on_packet_ack_rate_sample__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-core/src/recovery/bandwidth/estimator/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bandwidth/estimator/tests.rs --- DeliveryRateSampled { path_id: 0, rate_sample: RateSample { interval: 10s, delivered_bytes: 201500, lost_bytes: 150, ecn_ce_count: 15, is_app_limited: false, prior_delivered_bytes: 0, bytes_in_flight: 100, prior_lost_bytes: 0, prior_ecn_ce_count: 0, delivery_rate_bytes_per_second: 20150 } } DeliveryRateSampled { path_id: 0, rate_sample: RateSample { interval: 11s, delivered_bytes: 3000, lost_bytes: 0, ecn_ce_count: 0, is_app_limited: true, prior_delivered_bytes: 200000, bytes_in_flight: 3100, prior_lost_bytes: 150, prior_ecn_ce_count: 15, delivery_rate_bytes_per_second: 272 } } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__drain__events__check_drain_done.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__drain__events__check_drain_done.snap deleted file mode 100644 index 07cf5780fe..0000000000 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__drain__events__check_drain_done.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/bbr/drain.rs -expression: "" ---- -BbrStateChanged { path_id: 0, state: Drain } -BbrStateChanged { path_id: 0, state: ProbeBwDown } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__drain__events__enter_drain.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__drain__events__enter_drain.snap deleted file mode 100644 index 71e0e0cc25..0000000000 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__drain__events__enter_drain.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/bbr/drain.rs -expression: "" ---- -BbrStateChanged { path_id: 0, state: Drain } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__pacing__events__initialize_pacing_rate.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__pacing__events__initialize_pacing_rate.snap deleted file mode 100644 index 12bd4b47bb..0000000000 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__pacing__events__initialize_pacing_rate.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/bbr/pacing.rs -expression: "" ---- -PacingRateUpdated { path_id: 0, bytes_per_second: 383922, burst_size: 12000, pacing_gain: 2.77 } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__pacing__events__one_rtt.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__pacing__events__one_rtt.snap deleted file mode 100644 index 8387d347c7..0000000000 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__pacing__events__one_rtt.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/bbr/pacing.rs -expression: "" ---- -PacingRateUpdated { path_id: 0, bytes_per_second: 2742301, burst_size: 12000, pacing_gain: 2.77 } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__pacing__events__set_pacing_rate.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__pacing__events__set_pacing_rate.snap deleted file mode 100644 index 15884fe989..0000000000 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__pacing__events__set_pacing_rate.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/bbr/pacing.rs -expression: "" ---- -PacingRateUpdated { path_id: 0, bytes_per_second: 1237501, burst_size: 12000, pacing_gain: 1.25 } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__is_time_to_probe_bw.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__is_time_to_probe_bw.snap deleted file mode 100644 index aeaa5285bb..0000000000 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__is_time_to_probe_bw.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/bbr/probe_bw.rs -expression: "" ---- -BbrStateChanged { path_id: 0, state: ProbeBwDown } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__start_down.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__start_down.snap deleted file mode 100644 index aeaa5285bb..0000000000 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__start_down.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/bbr/probe_bw.rs -expression: "" ---- -BbrStateChanged { path_id: 0, state: ProbeBwDown } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__start_refill.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__start_refill.snap deleted file mode 100644 index ec072dedfd..0000000000 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__start_refill.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/bbr/probe_bw.rs -expression: "" ---- -BbrStateChanged { path_id: 0, state: ProbeBwRefill } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__start_up.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__start_up.snap deleted file mode 100644 index 8ecbc83be2..0000000000 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__start_up.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/bbr/probe_bw.rs -expression: "" ---- -BbrStateChanged { path_id: 0, state: ProbeBwUp } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__update_ack_phase.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__update_ack_phase.snap deleted file mode 100644 index aeaa5285bb..0000000000 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__update_ack_phase.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/bbr/probe_bw.rs -expression: "" ---- -BbrStateChanged { path_id: 0, state: ProbeBwDown } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_rtt__events__check_probe_rtt_enter_probe_rtt.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_rtt__events__check_probe_rtt_enter_probe_rtt.snap deleted file mode 100644 index c85d9be95e..0000000000 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_rtt__events__check_probe_rtt_enter_probe_rtt.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/bbr/probe_rtt.rs -expression: "" ---- -BbrStateChanged { path_id: 0, state: ProbeRtt } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_rtt__events__check_probe_rtt_exit_probe_rtt.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_rtt__events__check_probe_rtt_exit_probe_rtt.snap deleted file mode 100644 index 5be0b26fdc..0000000000 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_rtt__events__check_probe_rtt_exit_probe_rtt.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/bbr/probe_rtt.rs -expression: "" ---- -BbrStateChanged { path_id: 0, state: Startup } -BbrStateChanged { path_id: 0, state: Startup } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__startup__events__enter_startup.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__startup__events__enter_startup.snap deleted file mode 100644 index 683b15d341..0000000000 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__startup__events__enter_startup.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/bbr/startup.rs -expression: "" ---- -BbrStateChanged { path_id: 0, state: Startup } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__bound_cwnd_for_model.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__bound_cwnd_for_model.snap deleted file mode 100644 index 9f55d83788..0000000000 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__bound_cwnd_for_model.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/bbr/tests.rs -expression: "" ---- -BbrStateChanged { path_id: 0, state: Drain } -BbrStateChanged { path_id: 0, state: ProbeBwDown } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__is_probing_for_bandwidth.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__is_probing_for_bandwidth.snap deleted file mode 100644 index 9f55d83788..0000000000 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__is_probing_for_bandwidth.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/bbr/tests.rs -expression: "" ---- -BbrStateChanged { path_id: 0, state: Drain } -BbrStateChanged { path_id: 0, state: ProbeBwDown } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__on_mtu_update_decrease_larger_than_initial_window.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__on_mtu_update_decrease_larger_than_initial_window.snap deleted file mode 100644 index 9e1f6cb14f..0000000000 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__on_mtu_update_decrease_larger_than_initial_window.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/bbr/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__on_mtu_update_decrease_smaller_than_initial_window.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__on_mtu_update_decrease_smaller_than_initial_window.snap deleted file mode 100644 index 9e1f6cb14f..0000000000 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__on_mtu_update_decrease_smaller_than_initial_window.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/bbr/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__on_mtu_update_increase.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__on_mtu_update_increase.snap deleted file mode 100644 index 9e1f6cb14f..0000000000 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__on_mtu_update_increase.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/bbr/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__pacing_cwnd_gain.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__pacing_cwnd_gain.snap deleted file mode 100644 index 9f55d83788..0000000000 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__pacing_cwnd_gain.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/bbr/tests.rs -expression: "" ---- -BbrStateChanged { path_id: 0, state: Drain } -BbrStateChanged { path_id: 0, state: ProbeBwDown } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__quantization_budget.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__quantization_budget.snap deleted file mode 100644 index 9f55d83788..0000000000 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__quantization_budget.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/bbr/tests.rs -expression: "" ---- -BbrStateChanged { path_id: 0, state: Drain } -BbrStateChanged { path_id: 0, state: ProbeBwDown } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__drain__tests__check_drain_done__events.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__drain__tests__check_drain_done__events.snap new file mode 100644 index 0000000000..dc3bbd2e96 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__drain__tests__check_drain_done__events.snap @@ -0,0 +1,6 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/drain.rs +--- +BbrStateChanged { path_id: 0, state: Drain } +BbrStateChanged { path_id: 0, state: ProbeBwDown } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__drain__tests__enter_drain__events.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__drain__tests__enter_drain__events.snap new file mode 100644 index 0000000000..7d0e217ae2 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__drain__tests__enter_drain__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/drain.rs +--- +BbrStateChanged { path_id: 0, state: Drain } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__pacing__tests__initialize_pacing_rate__events.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__pacing__tests__initialize_pacing_rate__events.snap new file mode 100644 index 0000000000..13500bb331 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__pacing__tests__initialize_pacing_rate__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/pacing.rs +--- +PacingRateUpdated { path_id: 0, bytes_per_second: 383922, burst_size: 12000, pacing_gain: 2.77 } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__pacing__tests__set_pacing_rate__events.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__pacing__tests__set_pacing_rate__events.snap new file mode 100644 index 0000000000..240404b228 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__pacing__tests__set_pacing_rate__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/pacing.rs +--- +PacingRateUpdated { path_id: 0, bytes_per_second: 1237501, burst_size: 12000, pacing_gain: 1.25 } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__pacing__tests__test_one_rtt__events.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__pacing__tests__test_one_rtt__events.snap new file mode 100644 index 0000000000..014993c9bf --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__pacing__tests__test_one_rtt__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/pacing.rs +--- +PacingRateUpdated { path_id: 0, bytes_per_second: 2742301, burst_size: 12000, pacing_gain: 2.77 } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__enter_probe_bw.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__enter_probe_bw__events.snap similarity index 59% rename from quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__enter_probe_bw.snap rename to quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__enter_probe_bw__events.snap index 959bbec257..ffb68018cd 100644 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__enter_probe_bw.snap +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__enter_probe_bw__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-core/src/recovery/bbr/probe_bw.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/probe_bw.rs --- BbrStateChanged { path_id: 0, state: ProbeBwDown } BbrStateChanged { path_id: 0, state: ProbeBwDown } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__is_time_to_probe_bw__events.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__is_time_to_probe_bw__events.snap new file mode 100644 index 0000000000..0aebedbd53 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__is_time_to_probe_bw__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/probe_bw.rs +--- +BbrStateChanged { path_id: 0, state: ProbeBwDown } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__start_cruise.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__start_cruise__events.snap similarity index 50% rename from quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__start_cruise.snap rename to quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__start_cruise__events.snap index 0c7bec0814..6404078f32 100644 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_bw__events__start_cruise.snap +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__start_cruise__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-core/src/recovery/bbr/probe_bw.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/probe_bw.rs --- BbrStateChanged { path_id: 0, state: ProbeBwDown } BbrStateChanged { path_id: 0, state: ProbeBwCruise } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__start_down__events.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__start_down__events.snap new file mode 100644 index 0000000000..0aebedbd53 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__start_down__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/probe_bw.rs +--- +BbrStateChanged { path_id: 0, state: ProbeBwDown } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__start_refill__events.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__start_refill__events.snap new file mode 100644 index 0000000000..552269b22e --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__start_refill__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/probe_bw.rs +--- +BbrStateChanged { path_id: 0, state: ProbeBwRefill } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__start_up__events.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__start_up__events.snap new file mode 100644 index 0000000000..2145e736bb --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__start_up__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/probe_bw.rs +--- +BbrStateChanged { path_id: 0, state: ProbeBwUp } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__update_ack_phase__events.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__update_ack_phase__events.snap new file mode 100644 index 0000000000..0aebedbd53 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_bw__tests__update_ack_phase__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/probe_bw.rs +--- +BbrStateChanged { path_id: 0, state: ProbeBwDown } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_rtt__tests__check_probe_rtt_enter_probe_rtt__events.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_rtt__tests__check_probe_rtt_enter_probe_rtt__events.snap new file mode 100644 index 0000000000..372a4c28fe --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_rtt__tests__check_probe_rtt_enter_probe_rtt__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/probe_rtt.rs +--- +BbrStateChanged { path_id: 0, state: ProbeRtt } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_rtt__tests__check_probe_rtt_exit_probe_rtt__events.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_rtt__tests__check_probe_rtt_exit_probe_rtt__events.snap new file mode 100644 index 0000000000..ce418ab4e8 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_rtt__tests__check_probe_rtt_exit_probe_rtt__events.snap @@ -0,0 +1,6 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/probe_rtt.rs +--- +BbrStateChanged { path_id: 0, state: Startup } +BbrStateChanged { path_id: 0, state: Startup } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_rtt__events__exit_probe_rtt.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_rtt__tests__exit_probe_rtt__events.snap similarity index 59% rename from quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_rtt__events__exit_probe_rtt.snap rename to quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_rtt__tests__exit_probe_rtt__events.snap index 63bd2c2e15..c2a08f722b 100644 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__probe_rtt__events__exit_probe_rtt.snap +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__probe_rtt__tests__exit_probe_rtt__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-core/src/recovery/bbr/probe_rtt.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/probe_rtt.rs --- BbrStateChanged { path_id: 0, state: Startup } BbrStateChanged { path_id: 0, state: ProbeBwDown } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__startup__events__check_startup_done_filled_pipe_on_round_start.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__startup__tests__check_startup_done__events.snap similarity index 53% rename from quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__startup__events__check_startup_done_filled_pipe_on_round_start.snap rename to quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__startup__tests__check_startup_done__events.snap index e653cbcadf..0f729cf1d1 100644 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__startup__events__check_startup_done_filled_pipe_on_round_start.snap +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__startup__tests__check_startup_done__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-core/src/recovery/bbr/startup.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/startup.rs --- SlowStartExited { path_id: 0, cause: Other, congestion_window: 12000 } BbrStateChanged { path_id: 0, state: Drain } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__startup__events__check_startup_done.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__startup__tests__check_startup_done_filled_pipe_on_loss_round_start__events.snap similarity index 53% rename from quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__startup__events__check_startup_done.snap rename to quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__startup__tests__check_startup_done_filled_pipe_on_loss_round_start__events.snap index e653cbcadf..0f729cf1d1 100644 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__startup__events__check_startup_done.snap +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__startup__tests__check_startup_done_filled_pipe_on_loss_round_start__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-core/src/recovery/bbr/startup.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/startup.rs --- SlowStartExited { path_id: 0, cause: Other, congestion_window: 12000 } BbrStateChanged { path_id: 0, state: Drain } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__startup__events__check_startup_done_filled_pipe_on_loss_round_start.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__startup__tests__check_startup_done_filled_pipe_on_round_start__events.snap similarity index 53% rename from quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__startup__events__check_startup_done_filled_pipe_on_loss_round_start.snap rename to quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__startup__tests__check_startup_done_filled_pipe_on_round_start__events.snap index e653cbcadf..0f729cf1d1 100644 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__startup__events__check_startup_done_filled_pipe_on_loss_round_start.snap +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__startup__tests__check_startup_done_filled_pipe_on_round_start__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-core/src/recovery/bbr/startup.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/startup.rs --- SlowStartExited { path_id: 0, cause: Other, congestion_window: 12000 } BbrStateChanged { path_id: 0, state: Drain } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__startup__tests__enter_startup__events.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__startup__tests__enter_startup__events.snap new file mode 100644 index 0000000000..fc3813a02d --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__startup__tests__enter_startup__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/startup.rs +--- +BbrStateChanged { path_id: 0, state: Startup } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__bound_cwnd_for_model__events.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__bound_cwnd_for_model__events.snap new file mode 100644 index 0000000000..dc90d520f9 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__bound_cwnd_for_model__events.snap @@ -0,0 +1,6 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/tests.rs +--- +BbrStateChanged { path_id: 0, state: Drain } +BbrStateChanged { path_id: 0, state: ProbeBwDown } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__handle_lost_packet.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__handle_lost_packet__events.snap similarity index 59% rename from quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__handle_lost_packet.snap rename to quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__handle_lost_packet__events.snap index 003d82db83..735b65111d 100644 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__handle_lost_packet.snap +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__handle_lost_packet__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-core/src/recovery/bbr/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/tests.rs --- BbrStateChanged { path_id: 0, state: Drain } BbrStateChanged { path_id: 0, state: ProbeBwDown } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__handle_restart_from_idle.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__handle_restart_from_idle__events.snap similarity index 65% rename from quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__handle_restart_from_idle.snap rename to quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__handle_restart_from_idle__events.snap index b32fffaae3..dd2175803d 100644 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__handle_restart_from_idle.snap +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__handle_restart_from_idle__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-core/src/recovery/bbr/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/tests.rs --- BbrStateChanged { path_id: 0, state: Drain } BbrStateChanged { path_id: 0, state: ProbeBwDown } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__is_probing_for_bandwidth__events.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__is_probing_for_bandwidth__events.snap new file mode 100644 index 0000000000..dc90d520f9 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__is_probing_for_bandwidth__events.snap @@ -0,0 +1,6 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/tests.rs +--- +BbrStateChanged { path_id: 0, state: Drain } +BbrStateChanged { path_id: 0, state: ProbeBwDown } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__on_mtu_update_decrease_larger_than_initial_window__events.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__on_mtu_update_decrease_larger_than_initial_window__events.snap new file mode 100644 index 0000000000..e9e2c9f473 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__on_mtu_update_decrease_larger_than_initial_window__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__on_mtu_update_decrease_smaller_than_initial_window__events.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__on_mtu_update_decrease_smaller_than_initial_window__events.snap new file mode 100644 index 0000000000..e9e2c9f473 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__on_mtu_update_decrease_smaller_than_initial_window__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__on_mtu_update_increase__events.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__on_mtu_update_increase__events.snap new file mode 100644 index 0000000000..e9e2c9f473 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__on_mtu_update_increase__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__pacing_cwnd_gain__events.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__pacing_cwnd_gain__events.snap new file mode 100644 index 0000000000..dc90d520f9 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__pacing_cwnd_gain__events.snap @@ -0,0 +1,6 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/tests.rs +--- +BbrStateChanged { path_id: 0, state: Drain } +BbrStateChanged { path_id: 0, state: ProbeBwDown } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__quantization_budget__events.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__quantization_budget__events.snap new file mode 100644 index 0000000000..dc90d520f9 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__quantization_budget__events.snap @@ -0,0 +1,6 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/tests.rs +--- +BbrStateChanged { path_id: 0, state: Drain } +BbrStateChanged { path_id: 0, state: ProbeBwDown } diff --git a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__set_cwnd_not_filled_pipe.snap b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__set_cwnd_not_filled_pipe__events.snap similarity index 73% rename from quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__set_cwnd_not_filled_pipe.snap rename to quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__set_cwnd_not_filled_pipe__events.snap index 193130c776..5cbd8cf6f5 100644 --- a/quic/s2n-quic-core/src/recovery/bbr/snapshots/quic__s2n-quic-core__src__recovery__bbr__tests__events__set_cwnd_not_filled_pipe.snap +++ b/quic/s2n-quic-core/src/recovery/bbr/snapshots/recovery__bbr__tests__set_cwnd_not_filled_pipe__events.snap @@ -1,5 +1,5 @@ --- -source: quic/s2n-quic-core/src/recovery/bbr/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/bbr/tests.rs --- DeliveryRateSampled { path_id: 0, rate_sample: RateSample { interval: 0ns, delivered_bytes: 24001, lost_bytes: 0, ecn_ce_count: 0, is_app_limited: false, prior_delivered_bytes: 0, bytes_in_flight: 0, prior_lost_bytes: 0, prior_ecn_ce_count: 0, delivery_rate_bytes_per_second: 0 } } diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__congestion_avoidance_after_fast_convergence.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__congestion_avoidance_after_fast_convergence.snap deleted file mode 100644 index 649f38919c..0000000000 --- a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__congestion_avoidance_after_fast_convergence.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/cubic/tests.rs -expression: "" ---- -SlowStartExited { path_id: 0, cause: PacketLoss, congestion_window: 80000 } diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__congestion_avoidance_after_idle_period.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__congestion_avoidance_after_idle_period.snap deleted file mode 100644 index ec75581985..0000000000 --- a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__congestion_avoidance_after_idle_period.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/cubic/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_mtu_update_decrease_larger_than_initial_window.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_mtu_update_decrease_larger_than_initial_window.snap deleted file mode 100644 index ec75581985..0000000000 --- a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_mtu_update_decrease_larger_than_initial_window.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/cubic/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_mtu_update_decrease_smaller_than_initial_window.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_mtu_update_decrease_smaller_than_initial_window.snap deleted file mode 100644 index ec75581985..0000000000 --- a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_mtu_update_decrease_smaller_than_initial_window.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/cubic/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_mtu_update_increase.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_mtu_update_increase.snap deleted file mode 100644 index ec75581985..0000000000 --- a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_mtu_update_increase.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/cubic/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_congestion_avoidance.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_congestion_avoidance.snap deleted file mode 100644 index ec75581985..0000000000 --- a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_congestion_avoidance.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/cubic/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_congestion_avoidance_max_cwnd.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_congestion_avoidance_max_cwnd.snap deleted file mode 100644 index ec75581985..0000000000 --- a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_congestion_avoidance_max_cwnd.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/cubic/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_limited.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_limited.snap deleted file mode 100644 index ec75581985..0000000000 --- a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_limited.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/cubic/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_recovery.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_recovery.snap deleted file mode 100644 index ec75581985..0000000000 --- a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_recovery.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/cubic/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_recovery_to_congestion_avoidance.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_recovery_to_congestion_avoidance.snap deleted file mode 100644 index ec75581985..0000000000 --- a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_recovery_to_congestion_avoidance.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/cubic/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_slow_start_to_congestion_avoidance.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_slow_start_to_congestion_avoidance.snap deleted file mode 100644 index e6c816dca3..0000000000 --- a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_slow_start_to_congestion_avoidance.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/cubic/tests.rs -expression: "" ---- -SlowStartExited { path_id: 0, cause: Other, congestion_window: 10100 } diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_utilized_then_under_utilized.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_utilized_then_under_utilized.snap deleted file mode 100644 index 038d1cb8ec..0000000000 --- a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_ack_utilized_then_under_utilized.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/cubic/tests.rs -expression: "" ---- -PacingRateUpdated { path_id: 0, bytes_per_second: 1200000, burst_size: 50000, pacing_gain: 2.0 } diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_discarded.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_discarded.snap deleted file mode 100644 index ec75581985..0000000000 --- a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_discarded.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/cubic/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_lost.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_lost.snap deleted file mode 100644 index b0908b6ae6..0000000000 --- a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_lost.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/cubic/tests.rs -expression: "" ---- -SlowStartExited { path_id: 0, cause: PacketLoss, congestion_window: 100000 } diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_lost_already_in_recovery.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_lost_already_in_recovery.snap deleted file mode 100644 index ec75581985..0000000000 --- a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_lost_already_in_recovery.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/cubic/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_lost_below_minimum_window.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_lost_below_minimum_window.snap deleted file mode 100644 index ec75581985..0000000000 --- a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_lost_below_minimum_window.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/cubic/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_lost_persistent_congestion.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_lost_persistent_congestion.snap deleted file mode 100644 index ec75581985..0000000000 --- a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_lost_persistent_congestion.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/cubic/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_sent.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_sent.snap deleted file mode 100644 index a0a8ce6b89..0000000000 --- a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_sent.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/cubic/tests.rs -expression: "" ---- -SlowStartExited { path_id: 0, cause: Rtt, congestion_window: 100000 } diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_sent_application_limited.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_sent_application_limited.snap deleted file mode 100644 index ec75581985..0000000000 --- a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_sent_application_limited.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/cubic/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_sent_fast_retransmission.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_sent_fast_retransmission.snap deleted file mode 100644 index ec75581985..0000000000 --- a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_sent_fast_retransmission.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/cubic/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_sent_none_application_limited.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_sent_none_application_limited.snap deleted file mode 100644 index ec75581985..0000000000 --- a/quic/s2n-quic-core/src/recovery/cubic/snapshots/quic__s2n-quic-core__src__recovery__cubic__tests__events__on_packet_sent_none_application_limited.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/cubic/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__congestion_avoidance_after_fast_convergence__events.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__congestion_avoidance_after_fast_convergence__events.snap new file mode 100644 index 0000000000..b272d449a2 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__congestion_avoidance_after_fast_convergence__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/cubic/tests.rs +--- +SlowStartExited { path_id: 0, cause: PacketLoss, congestion_window: 80000 } diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__congestion_avoidance_after_idle_period__events.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__congestion_avoidance_after_idle_period__events.snap new file mode 100644 index 0000000000..d262284cd0 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__congestion_avoidance_after_idle_period__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/cubic/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_mtu_update_decrease_larger_than_initial_window__events.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_mtu_update_decrease_larger_than_initial_window__events.snap new file mode 100644 index 0000000000..d262284cd0 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_mtu_update_decrease_larger_than_initial_window__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/cubic/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_mtu_update_decrease_smaller_than_initial_window__events.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_mtu_update_decrease_smaller_than_initial_window__events.snap new file mode 100644 index 0000000000..d262284cd0 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_mtu_update_decrease_smaller_than_initial_window__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/cubic/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_mtu_update_increase__events.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_mtu_update_increase__events.snap new file mode 100644 index 0000000000..d262284cd0 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_mtu_update_increase__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/cubic/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_congestion_avoidance__events.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_congestion_avoidance__events.snap new file mode 100644 index 0000000000..d262284cd0 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_congestion_avoidance__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/cubic/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_congestion_avoidance_max_cwnd__events.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_congestion_avoidance_max_cwnd__events.snap new file mode 100644 index 0000000000..d262284cd0 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_congestion_avoidance_max_cwnd__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/cubic/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_limited__events.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_limited__events.snap new file mode 100644 index 0000000000..d262284cd0 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_limited__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/cubic/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_recovery__events.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_recovery__events.snap new file mode 100644 index 0000000000..d262284cd0 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_recovery__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/cubic/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_recovery_to_congestion_avoidance__events.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_recovery_to_congestion_avoidance__events.snap new file mode 100644 index 0000000000..d262284cd0 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_recovery_to_congestion_avoidance__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/cubic/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_slow_start_to_congestion_avoidance__events.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_slow_start_to_congestion_avoidance__events.snap new file mode 100644 index 0000000000..bd0997d26a --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_slow_start_to_congestion_avoidance__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/cubic/tests.rs +--- +SlowStartExited { path_id: 0, cause: Other, congestion_window: 10100 } diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_utilized_then_under_utilized__events.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_utilized_then_under_utilized__events.snap new file mode 100644 index 0000000000..ea9f8c18c6 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_ack_utilized_then_under_utilized__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/cubic/tests.rs +--- +PacingRateUpdated { path_id: 0, bytes_per_second: 1200000, burst_size: 50000, pacing_gain: 2.0 } diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_discarded__events.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_discarded__events.snap new file mode 100644 index 0000000000..d262284cd0 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_discarded__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/cubic/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_lost__events.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_lost__events.snap new file mode 100644 index 0000000000..48971cd57e --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_lost__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/cubic/tests.rs +--- +SlowStartExited { path_id: 0, cause: PacketLoss, congestion_window: 100000 } diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_lost_already_in_recovery__events.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_lost_already_in_recovery__events.snap new file mode 100644 index 0000000000..d262284cd0 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_lost_already_in_recovery__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/cubic/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_lost_below_minimum_window__events.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_lost_below_minimum_window__events.snap new file mode 100644 index 0000000000..d262284cd0 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_lost_below_minimum_window__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/cubic/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_lost_persistent_congestion__events.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_lost_persistent_congestion__events.snap new file mode 100644 index 0000000000..d262284cd0 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_lost_persistent_congestion__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/cubic/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_sent__events.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_sent__events.snap new file mode 100644 index 0000000000..17c8b5aab6 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_sent__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/cubic/tests.rs +--- +SlowStartExited { path_id: 0, cause: Rtt, congestion_window: 100000 } diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_sent_application_limited__events.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_sent_application_limited__events.snap new file mode 100644 index 0000000000..d262284cd0 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_sent_application_limited__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/cubic/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_sent_fast_retransmission__events.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_sent_fast_retransmission__events.snap new file mode 100644 index 0000000000..d262284cd0 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_sent_fast_retransmission__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/cubic/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_sent_none_application_limited__events.snap b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_sent_none_application_limited__events.snap new file mode 100644 index 0000000000..d262284cd0 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/cubic/snapshots/recovery__cubic__tests__on_packet_sent_none_application_limited__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/cubic/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/recovery/pacing/snapshots/quic__s2n-quic-core__src__recovery__pacing__tests__events__earliest_departure_time.snap b/quic/s2n-quic-core/src/recovery/pacing/snapshots/quic__s2n-quic-core__src__recovery__pacing__tests__events__earliest_departure_time.snap deleted file mode 100644 index 38e4cb455a..0000000000 --- a/quic/s2n-quic-core/src/recovery/pacing/snapshots/quic__s2n-quic-core__src__recovery__pacing__tests__events__earliest_departure_time.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/pacing/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/pacing/snapshots/quic__s2n-quic-core__src__recovery__pacing__tests__events__earliest_departure_time_before_now.snap b/quic/s2n-quic-core/src/recovery/pacing/snapshots/quic__s2n-quic-core__src__recovery__pacing__tests__events__earliest_departure_time_before_now.snap deleted file mode 100644 index 61a160158b..0000000000 --- a/quic/s2n-quic-core/src/recovery/pacing/snapshots/quic__s2n-quic-core__src__recovery__pacing__tests__events__earliest_departure_time_before_now.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/pacing/tests.rs -expression: "" ---- -PacingRateUpdated { path_id: 0, bytes_per_second: 450450, burst_size: 12000, pacing_gain: 1.25 } diff --git a/quic/s2n-quic-core/src/recovery/pacing/snapshots/quic__s2n-quic-core__src__recovery__pacing__tests__events__on_packet_sent_large_bytes_sent.snap b/quic/s2n-quic-core/src/recovery/pacing/snapshots/quic__s2n-quic-core__src__recovery__pacing__tests__events__on_packet_sent_large_bytes_sent.snap deleted file mode 100644 index 38e4cb455a..0000000000 --- a/quic/s2n-quic-core/src/recovery/pacing/snapshots/quic__s2n-quic-core__src__recovery__pacing__tests__events__on_packet_sent_large_bytes_sent.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-core/src/recovery/pacing/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-core/src/recovery/pacing/snapshots/recovery__pacing__tests__earliest_departure_time__events.snap b/quic/s2n-quic-core/src/recovery/pacing/snapshots/recovery__pacing__tests__earliest_departure_time__events.snap new file mode 100644 index 0000000000..dd52cef8e1 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/pacing/snapshots/recovery__pacing__tests__earliest_departure_time__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/pacing/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/recovery/pacing/snapshots/recovery__pacing__tests__earliest_departure_time_before_now__events.snap b/quic/s2n-quic-core/src/recovery/pacing/snapshots/recovery__pacing__tests__earliest_departure_time_before_now__events.snap new file mode 100644 index 0000000000..fa311a757c --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/pacing/snapshots/recovery__pacing__tests__earliest_departure_time_before_now__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/pacing/tests.rs +--- +PacingRateUpdated { path_id: 0, bytes_per_second: 450450, burst_size: 12000, pacing_gain: 1.25 } diff --git a/quic/s2n-quic-core/src/recovery/pacing/snapshots/recovery__pacing__tests__on_packet_sent_large_bytes_sent__events.snap b/quic/s2n-quic-core/src/recovery/pacing/snapshots/recovery__pacing__tests__on_packet_sent_large_bytes_sent__events.snap new file mode 100644 index 0000000000..dd52cef8e1 --- /dev/null +++ b/quic/s2n-quic-core/src/recovery/pacing/snapshots/recovery__pacing__tests__on_packet_sent_large_bytes_sent__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/pacing/tests.rs +--- + diff --git a/quic/s2n-quic-core/src/recovery/pacing/snapshots/quic__s2n-quic-core__src__recovery__pacing__tests__events__post_slow_start.snap b/quic/s2n-quic-core/src/recovery/pacing/snapshots/recovery__pacing__tests__post_slow_start__events.snap similarity index 91% rename from quic/s2n-quic-core/src/recovery/pacing/snapshots/quic__s2n-quic-core__src__recovery__pacing__tests__events__post_slow_start.snap rename to quic/s2n-quic-core/src/recovery/pacing/snapshots/recovery__pacing__tests__post_slow_start__events.snap index 38997c7bda..b73aba2671 100644 --- a/quic/s2n-quic-core/src/recovery/pacing/snapshots/quic__s2n-quic-core__src__recovery__pacing__tests__events__post_slow_start.snap +++ b/quic/s2n-quic-core/src/recovery/pacing/snapshots/recovery__pacing__tests__post_slow_start__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-core/src/recovery/pacing/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/pacing/tests.rs --- PacingRateUpdated { path_id: 0, bytes_per_second: 450450, burst_size: 12000, pacing_gain: 1.25 } PacingRateUpdated { path_id: 0, bytes_per_second: 450450, burst_size: 12000, pacing_gain: 1.25 } diff --git a/quic/s2n-quic-core/src/recovery/pacing/snapshots/quic__s2n-quic-core__src__recovery__pacing__tests__events__slow_start.snap b/quic/s2n-quic-core/src/recovery/pacing/snapshots/recovery__pacing__tests__slow_start__events.snap similarity index 94% rename from quic/s2n-quic-core/src/recovery/pacing/snapshots/quic__s2n-quic-core__src__recovery__pacing__tests__events__slow_start.snap rename to quic/s2n-quic-core/src/recovery/pacing/snapshots/recovery__pacing__tests__slow_start__events.snap index a36b426c88..3c34abdaf7 100644 --- a/quic/s2n-quic-core/src/recovery/pacing/snapshots/quic__s2n-quic-core__src__recovery__pacing__tests__events__slow_start.snap +++ b/quic/s2n-quic-core/src/recovery/pacing/snapshots/recovery__pacing__tests__slow_start__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-core/src/recovery/pacing/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-core/src/recovery/pacing/tests.rs --- PacingRateUpdated { path_id: 0, bytes_per_second: 720720, burst_size: 12000, pacing_gain: 2.0 } PacingRateUpdated { path_id: 0, bytes_per_second: 720720, burst_size: 12000, pacing_gain: 2.0 } diff --git a/quic/s2n-quic-events/src/main.rs b/quic/s2n-quic-events/src/main.rs index 94d00b9955..ec14301b0e 100644 --- a/quic/s2n-quic-events/src/main.rs +++ b/quic/s2n-quic-events/src/main.rs @@ -743,6 +743,7 @@ impl ToTokens for Output { #[cfg(any(test, feature = "testing"))] pub mod testing { use super::*; + use crate::event::snapshot::Location; #imports #mutex @@ -761,7 +762,7 @@ impl ToTokens for Output { } if let Some(location) = self.location.as_ref() { - location.snapshot(&self.output #lock); + location.snapshot_log(&self.output #lock); } } } @@ -771,7 +772,15 @@ impl ToTokens for Output { #[track_caller] pub fn snapshot() -> Self { let mut sub = Self::no_snapshot(); - sub.location = Location::try_new(); + sub.location = Location::from_thread_name(); + sub + } + + /// Creates a subscriber with snapshot assertions enabled + #[track_caller] + pub fn named_snapshot(name: Name) -> Self { + let mut sub = Self::no_snapshot(); + sub.location = Some(Location::new(name)); sub } @@ -805,7 +814,15 @@ impl ToTokens for Output { #[track_caller] pub fn snapshot() -> Self { let mut sub = Self::no_snapshot(); - sub.location = Location::try_new(); + sub.location = Location::from_thread_name(); + sub + } + + /// Creates a subscriber with snapshot assertions enabled + #[track_caller] + pub fn named_snapshot(name: Name) -> Self { + let mut sub = Self::no_snapshot(); + sub.location = Some(Location::new(name)); sub } @@ -847,66 +864,10 @@ impl ToTokens for Output { } if let Some(location) = self.location.as_ref() { - location.snapshot(&self.output #lock); + location.snapshot_log(&self.output #lock); } } } - - #[derive(Clone, Debug)] - struct Location(&'static core::panic::Location<'static>); - - impl Location { - #[track_caller] - fn try_new() -> Option { - let thread = std::thread::current(); - - // only create a location if insta can figure out the test name from the - // thread - if thread.name().map_or(false, |name| name != "main") { - Some(Self(core::panic::Location::caller())) - } else { - None - } - } - - fn snapshot(&self, output: &[String]) { - // miri doesn't support the syscalls that insta uses - if cfg!(miri) { - return; - } - - use std::path::{Path, Component}; - let value = output.join("\n"); - - let thread = std::thread::current(); - let function_name = thread.name().unwrap(); - - let test_path = Path::new(self.0.file().trim_end_matches(".rs")); - let module_path = test_path - .components() - .filter_map(|comp| match comp { - Component::Normal(comp) => comp.to_str(), - _ => Some("_"), - }) - .chain(Some("events")) - .collect::>() - .join("::"); - - let current_dir = std::env::current_dir().unwrap(); - - insta::_macro_support::assert_snapshot( - insta::_macro_support::AutoName.into(), - &value, - current_dir.to_str().unwrap(), - function_name, - &module_path, - self.0.file(), - self.0.line(), - "", - ) - .unwrap() - } - } } )); } diff --git a/quic/s2n-quic-transport/src/ack/snapshots/ack__ack_manager__tests__activate__events.snap b/quic/s2n-quic-transport/src/ack/snapshots/ack__ack_manager__tests__activate__events.snap new file mode 100644 index 0000000000..e243620b39 --- /dev/null +++ b/quic/s2n-quic-transport/src/ack/snapshots/ack__ack_manager__tests__activate__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/ack/ack_manager.rs +--- + diff --git a/quic/s2n-quic-transport/src/ack/snapshots/ack__ack_manager__tests__ecn_counts__events.snap b/quic/s2n-quic-transport/src/ack/snapshots/ack__ack_manager__tests__ecn_counts__events.snap new file mode 100644 index 0000000000..e243620b39 --- /dev/null +++ b/quic/s2n-quic-transport/src/ack/snapshots/ack__ack_manager__tests__ecn_counts__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/ack/ack_manager.rs +--- + diff --git a/quic/s2n-quic-transport/src/ack/snapshots/quic__s2n-quic-transport__src__ack__ack_manager__events__activate.snap b/quic/s2n-quic-transport/src/ack/snapshots/quic__s2n-quic-transport__src__ack__ack_manager__events__activate.snap deleted file mode 100644 index fc39a3b9e9..0000000000 --- a/quic/s2n-quic-transport/src/ack/snapshots/quic__s2n-quic-transport__src__ack__ack_manager__events__activate.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/ack/ack_manager.rs -expression: "" ---- - diff --git a/quic/s2n-quic-transport/src/ack/snapshots/quic__s2n-quic-transport__src__ack__ack_manager__events__ecn_counts.snap b/quic/s2n-quic-transport/src/ack/snapshots/quic__s2n-quic-transport__src__ack__ack_manager__events__ecn_counts.snap deleted file mode 100644 index fc39a3b9e9..0000000000 --- a/quic/s2n-quic-transport/src/ack/snapshots/quic__s2n-quic-transport__src__ack__ack_manager__events__ecn_counts.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/ack/ack_manager.rs -expression: "" ---- - diff --git a/quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__disabled__events.snap b/quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__disabled__events.snap new file mode 100644 index 0000000000..af0560b5f3 --- /dev/null +++ b/quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__disabled__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/dc/manager/tests.rs +--- + diff --git a/quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__new.snap b/quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__new__events.snap similarity index 53% rename from quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__new.snap rename to quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__new__events.snap index 999f047b57..e88149e74a 100644 --- a/quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__new.snap +++ b/quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__new__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/dc/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/dc/manager/tests.rs --- DcStateChanged { state: VersionNegotiated { version: 1 } } DcStateChanged { state: VersionNegotiated { version: 1 } } diff --git a/quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_mtu_updated__events.snap b/quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_mtu_updated__events.snap new file mode 100644 index 0000000000..aa9b5a71f2 --- /dev/null +++ b/quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_mtu_updated__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/dc/manager/tests.rs +--- +DcStateChanged { state: VersionNegotiated { version: 1 } } diff --git a/quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_packet_loss.snap b/quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_packet_ack_client__events.snap similarity index 50% rename from quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_packet_loss.snap rename to quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_packet_ack_client__events.snap index ce5dbd2707..6ab61df283 100644 --- a/quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_packet_loss.snap +++ b/quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_packet_ack_client__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/dc/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/dc/manager/tests.rs --- DcStateChanged { state: VersionNegotiated { version: 1 } } DcStateChanged { state: PathSecretsReady } diff --git a/quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_peer_dc_stateless_reset_tokens_client.snap b/quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_packet_ack_server__events.snap similarity index 57% rename from quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_peer_dc_stateless_reset_tokens_client.snap rename to quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_packet_ack_server__events.snap index b3c2c92849..f1752ce234 100644 --- a/quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_peer_dc_stateless_reset_tokens_client.snap +++ b/quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_packet_ack_server__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/dc/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/dc/manager/tests.rs --- DcStateChanged { state: VersionNegotiated { version: 1 } } DcStateChanged { state: PathSecretsReady } diff --git a/quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_packet_ack_client.snap b/quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_packet_loss__events.snap similarity index 50% rename from quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_packet_ack_client.snap rename to quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_packet_loss__events.snap index ce5dbd2707..6ab61df283 100644 --- a/quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_packet_ack_client.snap +++ b/quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_packet_loss__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/dc/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/dc/manager/tests.rs --- DcStateChanged { state: VersionNegotiated { version: 1 } } DcStateChanged { state: PathSecretsReady } diff --git a/quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_path_secrets_ready.snap b/quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_path_secrets_ready__events.snap similarity index 66% rename from quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_path_secrets_ready.snap rename to quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_path_secrets_ready__events.snap index 29cba608b6..98d79a9975 100644 --- a/quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_path_secrets_ready.snap +++ b/quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_path_secrets_ready__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/dc/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/dc/manager/tests.rs --- DcStateChanged { state: VersionNegotiated { version: 1 } } DcStateChanged { state: PathSecretsReady } diff --git a/quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_packet_ack_server.snap b/quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_peer_dc_stateless_reset_tokens_client__events.snap similarity index 57% rename from quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_packet_ack_server.snap rename to quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_peer_dc_stateless_reset_tokens_client__events.snap index b3c2c92849..f1752ce234 100644 --- a/quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_packet_ack_server.snap +++ b/quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_peer_dc_stateless_reset_tokens_client__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/dc/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/dc/manager/tests.rs --- DcStateChanged { state: VersionNegotiated { version: 1 } } DcStateChanged { state: PathSecretsReady } diff --git a/quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_peer_dc_stateless_reset_tokens_server__events.snap b/quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_peer_dc_stateless_reset_tokens_server__events.snap new file mode 100644 index 0000000000..6ab61df283 --- /dev/null +++ b/quic/s2n-quic-transport/src/dc/manager/snapshots/dc__manager__tests__on_peer_dc_stateless_reset_tokens_server__events.snap @@ -0,0 +1,6 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/dc/manager/tests.rs +--- +DcStateChanged { state: VersionNegotiated { version: 1 } } +DcStateChanged { state: PathSecretsReady } diff --git a/quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__disabled.snap b/quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__disabled.snap deleted file mode 100644 index 6e3aa896a0..0000000000 --- a/quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__disabled.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/dc/manager/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_mtu_updated.snap b/quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_mtu_updated.snap deleted file mode 100644 index b89174da85..0000000000 --- a/quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_mtu_updated.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/dc/manager/tests.rs -expression: "" ---- -DcStateChanged { state: VersionNegotiated { version: 1 } } diff --git a/quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_peer_dc_stateless_reset_tokens_server.snap b/quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_peer_dc_stateless_reset_tokens_server.snap deleted file mode 100644 index ce5dbd2707..0000000000 --- a/quic/s2n-quic-transport/src/dc/manager/snapshots/quic__s2n-quic-transport__src__dc__manager__tests__events__on_peer_dc_stateless_reset_tokens_server.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/dc/manager/tests.rs -expression: "" ---- -DcStateChanged { state: VersionNegotiated { version: 1 } } -DcStateChanged { state: PathSecretsReady } diff --git a/quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__client_test__events.snap b/quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__client_test__events.snap new file mode 100644 index 0000000000..7dc3f8c448 --- /dev/null +++ b/quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__client_test__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/endpoint/version.rs +--- + diff --git a/quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_future_version_initial_test__events.snap b/quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_future_version_initial_test__events.snap new file mode 100644 index 0000000000..f05f68880e --- /dev/null +++ b/quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_future_version_initial_test__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/endpoint/version.rs +--- +VersionInformation { server_versions: [1], client_versions: [123], chosen_version: None } diff --git a/quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_initial_test__events.snap b/quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_initial_test__events.snap new file mode 100644 index 0000000000..f05f68880e --- /dev/null +++ b/quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_initial_test__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/endpoint/version.rs +--- +VersionInformation { server_versions: [1], client_versions: [123], chosen_version: None } diff --git a/quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_max_peers_test.snap b/quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_max_peers_test__events.snap similarity index 80% rename from quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_max_peers_test.snap rename to quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_max_peers_test__events.snap index 723f530625..953d2a94a3 100644 --- a/quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_max_peers_test.snap +++ b/quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_max_peers_test__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/endpoint/version.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/endpoint/version.rs --- VersionInformation { server_versions: [1], client_versions: [123], chosen_version: None } VersionInformation { server_versions: [1], client_versions: [123], chosen_version: None } diff --git a/quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_other_packets_test__events.snap b/quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_other_packets_test__events.snap new file mode 100644 index 0000000000..7dc3f8c448 --- /dev/null +++ b/quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_other_packets_test__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/endpoint/version.rs +--- + diff --git a/quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_undersized_test__events.snap b/quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_undersized_test__events.snap new file mode 100644 index 0000000000..f05f68880e --- /dev/null +++ b/quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_undersized_test__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/endpoint/version.rs +--- +VersionInformation { server_versions: [1], client_versions: [123], chosen_version: None } diff --git a/quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_zerortt_test__events.snap b/quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_zerortt_test__events.snap new file mode 100644 index 0000000000..f05f68880e --- /dev/null +++ b/quic/s2n-quic-transport/src/endpoint/snapshots/endpoint__version__tests__server_zerortt_test__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/endpoint/version.rs +--- +VersionInformation { server_versions: [1], client_versions: [123], chosen_version: None } diff --git a/quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__client_test.snap b/quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__client_test.snap deleted file mode 100644 index 29f2a649cf..0000000000 --- a/quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__client_test.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/endpoint/version.rs -expression: "" ---- - diff --git a/quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_future_version_initial_test.snap b/quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_future_version_initial_test.snap deleted file mode 100644 index 75116876aa..0000000000 --- a/quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_future_version_initial_test.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/endpoint/version.rs -expression: "" ---- -VersionInformation { server_versions: [1], client_versions: [123], chosen_version: None } diff --git a/quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_initial_test.snap b/quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_initial_test.snap deleted file mode 100644 index 75116876aa..0000000000 --- a/quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_initial_test.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/endpoint/version.rs -expression: "" ---- -VersionInformation { server_versions: [1], client_versions: [123], chosen_version: None } diff --git a/quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_other_packets_test.snap b/quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_other_packets_test.snap deleted file mode 100644 index 29f2a649cf..0000000000 --- a/quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_other_packets_test.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/endpoint/version.rs -expression: "" ---- - diff --git a/quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_undersized_test.snap b/quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_undersized_test.snap deleted file mode 100644 index 75116876aa..0000000000 --- a/quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_undersized_test.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/endpoint/version.rs -expression: "" ---- -VersionInformation { server_versions: [1], client_versions: [123], chosen_version: None } diff --git a/quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_zerortt_test.snap b/quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_zerortt_test.snap deleted file mode 100644 index 75116876aa..0000000000 --- a/quic/s2n-quic-transport/src/endpoint/snapshots/quic__s2n-quic-transport__src__endpoint__version__events__server_zerortt_test.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/endpoint/version.rs -expression: "" ---- -VersionInformation { server_versions: [1], client_versions: [123], chosen_version: None } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__abandon_all_path_challenges.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__abandon_all_path_challenges__events.snap similarity index 91% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__abandon_all_path_challenges.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__abandon_all_path_challenges__events.snap index 9744f9e4a1..e9b80fec37 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__abandon_all_path_challenges.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__abandon_all_path_challenges__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x00, current: 0x01 } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__abandon_path_challenges_if_new_path_is_validated.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__abandon_path_challenges_if_new_path_is_validated__events.snap similarity index 93% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__abandon_path_challenges_if_new_path_is_validated.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__abandon_path_challenges_if_new_path_is_validated__events.snap index 4afe72b3f8..9630720ccf 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__abandon_path_challenges_if_new_path_is_validated.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__abandon_path_challenges_if_new_path_is_validated__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x00, current: 0x01 } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__active_connection_migration_disabled.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__active_connection_migration_disabled__events.snap similarity index 89% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__active_connection_migration_disabled.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__active_connection_migration_disabled__events.snap index 036737922f..ed8a5d0b64 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__active_connection_migration_disabled.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__active_connection_migration_disabled__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x01, current: 0x69643032 } PathCreated { active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:1, remote_cid: 0x69643032, id: 0, is_active: true }, new: Path { local_addr: 0.0.0.0:0, local_cid: 0x69643032, remote_addr: 127.0.0.2:1, remote_cid: 0x69643033, id: 1, is_active: false } } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__can_transmit_true_if_any_path_can_transmit.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__amplification_limited_false_if_any_paths_amplificaiton_limited__events.snap similarity index 79% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__can_transmit_true_if_any_path_can_transmit.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__amplification_limited_false_if_any_paths_amplificaiton_limited__events.snap index 00a002209f..f686b172b6 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__can_transmit_true_if_any_path_can_transmit.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__amplification_limited_false_if_any_paths_amplificaiton_limited__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x00, current: 0x01 } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__amplification_limited_false_if_any_paths_amplificaiton_limited.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__amplification_limited_true_if_all_paths_amplificaiton_limited__events.snap similarity index 79% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__amplification_limited_false_if_any_paths_amplificaiton_limited.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__amplification_limited_true_if_all_paths_amplificaiton_limited__events.snap index 00a002209f..f686b172b6 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__amplification_limited_false_if_any_paths_amplificaiton_limited.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__amplification_limited_true_if_all_paths_amplificaiton_limited__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x00, current: 0x01 } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__amplification_limited_true_if_all_paths_amplificaiton_limited.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__can_transmit_false_if_no_path_can_transmit__events.snap similarity index 79% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__amplification_limited_true_if_all_paths_amplificaiton_limited.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__can_transmit_false_if_no_path_can_transmit__events.snap index 00a002209f..f686b172b6 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__amplification_limited_true_if_all_paths_amplificaiton_limited.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__can_transmit_false_if_no_path_can_transmit__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x00, current: 0x01 } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__can_transmit_false_if_no_path_can_transmit.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__can_transmit_true_if_any_path_can_transmit__events.snap similarity index 79% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__can_transmit_false_if_no_path_can_transmit.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__can_transmit_true_if_any_path_can_transmit__events.snap index 00a002209f..f686b172b6 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__can_transmit_false_if_no_path_can_transmit.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__can_transmit_true_if_any_path_can_transmit__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x00, current: 0x01 } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__connection_migration_challenge_behavior.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__connection_migration_challenge_behavior__events.snap similarity index 87% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__connection_migration_challenge_behavior.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__connection_migration_challenge_behavior__events.snap index 2136b31c1d..2f893ceaef 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__connection_migration_challenge_behavior.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__connection_migration_challenge_behavior__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- PathCreated { active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:8001, remote_cid: 0x01, id: 0, is_active: true }, new: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.2:8001, remote_cid: 0x01, id: 1, is_active: false } } MtuUpdated { path_id: 1, mtu: 1200, cause: NewPath, search_complete: false } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__connection_migration_new_path_abandon_timer.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__connection_migration_new_path_abandon_timer__events.snap similarity index 90% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__connection_migration_new_path_abandon_timer.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__connection_migration_new_path_abandon_timer__events.snap index ba5f02e7a8..111f01da00 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__connection_migration_new_path_abandon_timer.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__connection_migration_new_path_abandon_timer__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- PathCreated { active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:8001, remote_cid: 0x01, id: 0, is_active: true }, new: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.2:8001, remote_cid: 0x01, id: 1, is_active: false } } MtuUpdated { path_id: 1, mtu: 1200, cause: NewPath, search_complete: false } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__adding_new_path.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__connection_migration_use_max_ack_delay_from_active_path__events.snap similarity index 79% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__adding_new_path.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__connection_migration_use_max_ack_delay_from_active_path__events.snap index 853ee92f16..e47c2bbc77 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__adding_new_path.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__connection_migration_use_max_ack_delay_from_active_path__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- PathCreated { active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:8001, remote_cid: 0x01, id: 0, is_active: true }, new: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.2:8001, remote_cid: 0x01, id: 1, is_active: false } } MtuUpdated { path_id: 1, mtu: 1200, cause: NewPath, search_complete: false } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__do_not_add_new_path_if_client__events.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__do_not_add_new_path_if_client__events.snap new file mode 100644 index 0000000000..d9e0f0caf6 --- /dev/null +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__do_not_add_new_path_if_client__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs +--- + diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__do_not_add_new_path_if_handshake_not_confirmed__events.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__do_not_add_new_path_if_handshake_not_confirmed__events.snap new file mode 100644 index 0000000000..d9e0f0caf6 --- /dev/null +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__do_not_add_new_path_if_handshake_not_confirmed__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs +--- + diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__dont_abandon_path_challenge_if_new_path_is_not_validated.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__dont_abandon_path_challenge_if_new_path_is_not_validated__events.snap similarity index 87% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__dont_abandon_path_challenge_if_new_path_is_not_validated.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__dont_abandon_path_challenge_if_new_path_is_not_validated__events.snap index ba4afff44b..3998618099 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__dont_abandon_path_challenge_if_new_path_is_not_validated.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__dont_abandon_path_challenge_if_new_path_is_not_validated__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x00, current: 0x01 } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__dont_promote_non_validated_path_to_last_known_validated_path.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__dont_promote_non_validated_path_to_last_known_validated_path__events.snap similarity index 87% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__dont_promote_non_validated_path_to_last_known_validated_path.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__dont_promote_non_validated_path_to_last_known_validated_path__events.snap index ba4afff44b..3998618099 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__dont_promote_non_validated_path_to_last_known_validated_path.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__dont_promote_non_validated_path_to_last_known_validated_path__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x00, current: 0x01 } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__dont_update_path_to_active_path_if_no_connection_id_available__events.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__dont_update_path_to_active_path_if_no_connection_id_available__events.snap new file mode 100644 index 0000000000..f686b172b6 --- /dev/null +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__dont_update_path_to_active_path_if_no_connection_id_available__events.snap @@ -0,0 +1,6 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs +--- +ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } +ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x00, current: 0x01 } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__dont_validate_path_if_path_challenge_is_abandoned.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__dont_validate_path_if_path_challenge_is_abandoned__events.snap similarity index 86% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__dont_validate_path_if_path_challenge_is_abandoned.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__dont_validate_path_if_path_challenge_is_abandoned__events.snap index abf8ec4f14..9b75bf6efc 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__dont_validate_path_if_path_challenge_is_abandoned.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__dont_validate_path_if_path_challenge_is_abandoned__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x00, current: 0x01 } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__initiate_path_challenge_if_new_path_is_not_validated.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__initiate_path_challenge_if_new_path_is_not_validated__events.snap similarity index 90% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__initiate_path_challenge_if_new_path_is_not_validated.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__initiate_path_challenge_if_new_path_is_not_validated__events.snap index 957fd3a09a..ff182b8625 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__initiate_path_challenge_if_new_path_is_not_validated.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__initiate_path_challenge_if_new_path_is_not_validated__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x00, current: 0x01 } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__last_known_validated_path_should_update_on_path_response.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__last_known_validated_path_should_update_on_path_response__events.snap similarity index 93% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__last_known_validated_path_should_update_on_path_response.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__last_known_validated_path_should_update_on_path_response__events.snap index 00c9c5de16..10d3206cf3 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__last_known_validated_path_should_update_on_path_response.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__last_known_validated_path_should_update_on_path_response__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x02, id: 2, is_active: true } } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__limit_number_of_connection_migrations.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__limit_number_of_connection_migrations__events.snap similarity index 96% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__limit_number_of_connection_migrations.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__limit_number_of_connection_migrations__events.snap index c646fe3053..7b21cf3701 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__limit_number_of_connection_migrations.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__limit_number_of_connection_migrations__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- PathCreated { active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:1, remote_cid: 0x01, id: 0, is_active: true }, new: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.2:1, remote_cid: 0x01, id: 1, is_active: false } } MtuUpdated { path_id: 1, mtu: 1200, cause: NewPath, search_complete: false } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__promote_validated_path_to_last_known_validated_path.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__non_probing_should_update_path_to_active_path__events.snap similarity index 87% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__promote_validated_path_to_last_known_validated_path.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__non_probing_should_update_path_to_active_path__events.snap index ba4afff44b..3998618099 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__promote_validated_path_to_last_known_validated_path.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__non_probing_should_update_path_to_active_path__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x00, current: 0x01 } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__pending_paths_should_return_paths_pending_validation.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__pending_paths_should_return_paths_pending_validation__events.snap similarity index 86% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__pending_paths_should_return_paths_pending_validation.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__pending_paths_should_return_paths_pending_validation__events.snap index 008b74959d..79a7034710 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__pending_paths_should_return_paths_pending_validation.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__pending_paths_should_return_paths_pending_validation__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x00, current: 0x01 } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__probing_should_not_update_path_to_active_path__events.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__probing_should_not_update_path_to_active_path__events.snap new file mode 100644 index 0000000000..f686b172b6 --- /dev/null +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__probing_should_not_update_path_to_active_path__events.snap @@ -0,0 +1,6 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs +--- +ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } +ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x00, current: 0x01 } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__non_probing_should_update_path_to_active_path.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__promote_validated_path_to_last_known_validated_path__events.snap similarity index 87% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__non_probing_should_update_path_to_active_path.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__promote_validated_path_to_last_known_validated_path__events.snap index ba4afff44b..3998618099 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__non_probing_should_update_path_to_active_path.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__promote_validated_path_to_last_known_validated_path__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x00, current: 0x01 } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__set_path_challenge_on_active_path_on_connection_migration.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__set_path_challenge_on_active_path_on_connection_migration__events.snap similarity index 90% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__set_path_challenge_on_active_path_on_connection_migration.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__set_path_challenge_on_active_path_on_connection_migration__events.snap index 2a6f1b4675..05fc96fba8 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__set_path_challenge_on_active_path_on_connection_migration.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__set_path_challenge_on_active_path_on_connection_migration__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x00, current: 0x01 } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__silently_return_when_there_is_no_valid_path.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__silently_return_when_there_is_no_valid_path__events.snap similarity index 70% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__silently_return_when_there_is_no_valid_path.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__silently_return_when_there_is_no_valid_path__events.snap index 3fe0081118..7e4ad97185 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__silently_return_when_there_is_no_valid_path.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__silently_return_when_there_is_no_valid_path__events.snap @@ -1,5 +1,5 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- PathChallengeUpdated { path_challenge_status: Abandoned, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 0, is_active: true }, challenge_data: [0, 0, 0, 0, 0, 0, 0, 0] } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__stop_using_a_retired_connection_id__events.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__stop_using_a_retired_connection_id__events.snap new file mode 100644 index 0000000000..6693d8d18f --- /dev/null +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__stop_using_a_retired_connection_id__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs +--- +ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x69643031, current: 0x69643032 } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__switch_destination_connection_id_after_first_server_response__events.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__switch_destination_connection_id_after_first_server_response__events.snap new file mode 100644 index 0000000000..d9e0f0caf6 --- /dev/null +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__switch_destination_connection_id_after_first_server_response__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs +--- + diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__temporary_until_authenticated.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__temporary_until_authenticated__events.snap similarity index 93% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__temporary_until_authenticated.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__temporary_until_authenticated__events.snap index e0965f526d..ff5fad7825 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__temporary_until_authenticated.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__temporary_until_authenticated__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- PathCreated { active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:8001, remote_cid: 0x01, id: 0, is_active: true }, new: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.2:8001, remote_cid: 0x01, id: 1, is_active: false } } MtuUpdated { path_id: 1, mtu: 1200, cause: NewPath, search_complete: false } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__connection_migration_use_max_ack_delay_from_active_path.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__test_adding_new_path__events.snap similarity index 79% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__connection_migration_use_max_ack_delay_from_active_path.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__test_adding_new_path__events.snap index 853ee92f16..e47c2bbc77 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__connection_migration_use_max_ack_delay_from_active_path.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__test_adding_new_path__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- PathCreated { active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:8001, remote_cid: 0x01, id: 0, is_active: true }, new: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.2:8001, remote_cid: 0x01, id: 1, is_active: false } } MtuUpdated { path_id: 1, mtu: 1200, cause: NewPath, search_complete: false } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__invalid_path_fallback.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__test_invalid_path_fallback__events.snap similarity index 90% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__invalid_path_fallback.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__test_invalid_path_fallback__events.snap index 8a19d1c492..281b4c6fa5 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__invalid_path_fallback.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__test_invalid_path_fallback__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x000102030405, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x000102030405, id: 1, is_active: true } } PathChallengeUpdated { path_challenge_status: Abandoned, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x000102030405, id: 1, is_active: true }, challenge_data: [0, 0, 0, 0, 0, 0, 0, 0] } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__update_path_to_active_path__events.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__update_path_to_active_path__events.snap new file mode 100644 index 0000000000..3998618099 --- /dev/null +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__update_path_to_active_path__events.snap @@ -0,0 +1,7 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs +--- +ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } +ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x00, current: 0x01 } +ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x02, id: 2, is_active: true } } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__validate_path_before_challenge_expiration.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__validate_path_before_challenge_expiration__events.snap similarity index 86% rename from quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__validate_path_before_challenge_expiration.snap rename to quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__validate_path_before_challenge_expiration__events.snap index 797c1fae6e..510e0fe2f1 100644 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__validate_path_before_challenge_expiration.snap +++ b/quic/s2n-quic-transport/src/path/manager/snapshots/path__manager__tests__validate_path_before_challenge_expiration__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/manager/tests.rs --- ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x00, current: 0x01 } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__do_not_add_new_path_if_client.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__do_not_add_new_path_if_client.snap deleted file mode 100644 index 89e52ece83..0000000000 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__do_not_add_new_path_if_client.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__do_not_add_new_path_if_handshake_not_confirmed.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__do_not_add_new_path_if_handshake_not_confirmed.snap deleted file mode 100644 index 89e52ece83..0000000000 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__do_not_add_new_path_if_handshake_not_confirmed.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__dont_update_path_to_active_path_if_no_connection_id_available.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__dont_update_path_to_active_path_if_no_connection_id_available.snap deleted file mode 100644 index 00a002209f..0000000000 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__dont_update_path_to_active_path_if_no_connection_id_available.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" ---- -ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } -ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x00, current: 0x01 } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__probing_should_not_update_path_to_active_path.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__probing_should_not_update_path_to_active_path.snap deleted file mode 100644 index 00a002209f..0000000000 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__probing_should_not_update_path_to_active_path.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" ---- -ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } -ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x00, current: 0x01 } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__stop_using_a_retired_connection_id.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__stop_using_a_retired_connection_id.snap deleted file mode 100644 index 620e9a24cb..0000000000 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__stop_using_a_retired_connection_id.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" ---- -ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x69643031, current: 0x69643032 } diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__switch_destination_connection_id_after_first_server_response.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__switch_destination_connection_id_after_first_server_response.snap deleted file mode 100644 index 89e52ece83..0000000000 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__switch_destination_connection_id_after_first_server_response.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__update_path_to_active_path.snap b/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__update_path_to_active_path.snap deleted file mode 100644 index ba4afff44b..0000000000 --- a/quic/s2n-quic-transport/src/path/manager/snapshots/quic__s2n-quic-transport__src__path__manager__tests__events__update_path_to_active_path.snap +++ /dev/null @@ -1,7 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/path/manager/tests.rs -expression: "" ---- -ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x00, id: 0, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: true } } -ConnectionIdUpdated { path_id: 0, cid_consumer: Local, previous: 0x00, current: 0x01 } -ActivePathUpdated { previous: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x01, id: 1, is_active: false }, active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x02, id: 2, is_active: true } } diff --git a/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__challenge__events__is_abandoned.snap b/quic/s2n-quic-transport/src/path/snapshots/path__challenge__tests__cancel_abandon_timer_on_abandon__events.snap similarity index 74% rename from quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__challenge__events__is_abandoned.snap rename to quic/s2n-quic-transport/src/path/snapshots/path__challenge__tests__cancel_abandon_timer_on_abandon__events.snap index 7c482c190d..8e429b4768 100644 --- a/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__challenge__events__is_abandoned.snap +++ b/quic/s2n-quic-transport/src/path/snapshots/path__challenge__tests__cancel_abandon_timer_on_abandon__events.snap @@ -1,5 +1,5 @@ --- -source: quic/s2n-quic-transport/src/path/challenge.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/challenge.rs --- PathChallengeUpdated { path_challenge_status: Abandoned, path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, challenge_data: [0, 0, 0, 0, 0, 0, 0, 0] } diff --git a/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__challenge__events__challenge_must_remains_abandoned_once_abandoned.snap b/quic/s2n-quic-transport/src/path/snapshots/path__challenge__tests__challenge_must_remains_abandoned_once_abandoned__events.snap similarity index 74% rename from quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__challenge__events__challenge_must_remains_abandoned_once_abandoned.snap rename to quic/s2n-quic-transport/src/path/snapshots/path__challenge__tests__challenge_must_remains_abandoned_once_abandoned__events.snap index 7c482c190d..8e429b4768 100644 --- a/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__challenge__events__challenge_must_remains_abandoned_once_abandoned.snap +++ b/quic/s2n-quic-transport/src/path/snapshots/path__challenge__tests__challenge_must_remains_abandoned_once_abandoned__events.snap @@ -1,5 +1,5 @@ --- -source: quic/s2n-quic-transport/src/path/challenge.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/challenge.rs --- PathChallengeUpdated { path_challenge_status: Abandoned, path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, challenge_data: [0, 0, 0, 0, 0, 0, 0, 0] } diff --git a/quic/s2n-quic-transport/src/path/snapshots/path__challenge__tests__dont_abandon_a_validated_challenge__events.snap b/quic/s2n-quic-transport/src/path/snapshots/path__challenge__tests__dont_abandon_a_validated_challenge__events.snap new file mode 100644 index 0000000000..bdacbd2e26 --- /dev/null +++ b/quic/s2n-quic-transport/src/path/snapshots/path__challenge__tests__dont_abandon_a_validated_challenge__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/challenge.rs +--- + diff --git a/quic/s2n-quic-transport/src/path/snapshots/path__challenge__tests__dont_abandon_disabled_state__events.snap b/quic/s2n-quic-transport/src/path/snapshots/path__challenge__tests__dont_abandon_disabled_state__events.snap new file mode 100644 index 0000000000..bdacbd2e26 --- /dev/null +++ b/quic/s2n-quic-transport/src/path/snapshots/path__challenge__tests__dont_abandon_disabled_state__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/challenge.rs +--- + diff --git a/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__challenge__events__on_timeout.snap b/quic/s2n-quic-transport/src/path/snapshots/path__challenge__tests__test_is_abandoned__events.snap similarity index 74% rename from quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__challenge__events__on_timeout.snap rename to quic/s2n-quic-transport/src/path/snapshots/path__challenge__tests__test_is_abandoned__events.snap index 7c482c190d..8e429b4768 100644 --- a/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__challenge__events__on_timeout.snap +++ b/quic/s2n-quic-transport/src/path/snapshots/path__challenge__tests__test_is_abandoned__events.snap @@ -1,5 +1,5 @@ --- -source: quic/s2n-quic-transport/src/path/challenge.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/challenge.rs --- PathChallengeUpdated { path_challenge_status: Abandoned, path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, challenge_data: [0, 0, 0, 0, 0, 0, 0, 0] } diff --git a/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__challenge__events__cancel_abandon_timer_on_abandon.snap b/quic/s2n-quic-transport/src/path/snapshots/path__challenge__tests__test_on_timeout__events.snap similarity index 74% rename from quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__challenge__events__cancel_abandon_timer_on_abandon.snap rename to quic/s2n-quic-transport/src/path/snapshots/path__challenge__tests__test_on_timeout__events.snap index 7c482c190d..8e429b4768 100644 --- a/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__challenge__events__cancel_abandon_timer_on_abandon.snap +++ b/quic/s2n-quic-transport/src/path/snapshots/path__challenge__tests__test_on_timeout__events.snap @@ -1,5 +1,5 @@ --- -source: quic/s2n-quic-transport/src/path/challenge.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/challenge.rs --- PathChallengeUpdated { path_challenge_status: Abandoned, path: Path { local_addr: 127.0.0.1:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: false }, challenge_data: [0, 0, 0, 0, 0, 0, 0, 0] } diff --git a/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__mod__events__abandon_challenge.snap b/quic/s2n-quic-transport/src/path/snapshots/path__tests__abandon_challenge__events.snap similarity index 72% rename from quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__mod__events__abandon_challenge.snap rename to quic/s2n-quic-transport/src/path/snapshots/path__tests__abandon_challenge__events.snap index 9d77de9468..6aeb6de932 100644 --- a/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__mod__events__abandon_challenge.snap +++ b/quic/s2n-quic-transport/src/path/snapshots/path__tests__abandon_challenge__events.snap @@ -1,5 +1,5 @@ --- -source: quic/s2n-quic-transport/src/path/mod.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/mod.rs --- PathChallengeUpdated { path_challenge_status: Abandoned, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x, id: 0, is_active: false }, challenge_data: [0, 0, 0, 0, 0, 0, 0, 0] } diff --git a/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__mod__events__failed_validation.snap b/quic/s2n-quic-transport/src/path/snapshots/path__tests__failed_validation__events.snap similarity index 72% rename from quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__mod__events__failed_validation.snap rename to quic/s2n-quic-transport/src/path/snapshots/path__tests__failed_validation__events.snap index 9d77de9468..6aeb6de932 100644 --- a/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__mod__events__failed_validation.snap +++ b/quic/s2n-quic-transport/src/path/snapshots/path__tests__failed_validation__events.snap @@ -1,5 +1,5 @@ --- -source: quic/s2n-quic-transport/src/path/mod.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/mod.rs --- PathChallengeUpdated { path_challenge_status: Abandoned, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x, id: 0, is_active: false }, challenge_data: [0, 0, 0, 0, 0, 0, 0, 0] } diff --git a/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__mod__events__on_timeout_should_set_challenge_to_none_on_challenge_abandonment.snap b/quic/s2n-quic-transport/src/path/snapshots/path__tests__on_timeout_should_set_challenge_to_none_on_challenge_abandonment__events.snap similarity index 72% rename from quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__mod__events__on_timeout_should_set_challenge_to_none_on_challenge_abandonment.snap rename to quic/s2n-quic-transport/src/path/snapshots/path__tests__on_timeout_should_set_challenge_to_none_on_challenge_abandonment__events.snap index 9d77de9468..6aeb6de932 100644 --- a/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__mod__events__on_timeout_should_set_challenge_to_none_on_challenge_abandonment.snap +++ b/quic/s2n-quic-transport/src/path/snapshots/path__tests__on_timeout_should_set_challenge_to_none_on_challenge_abandonment__events.snap @@ -1,5 +1,5 @@ --- -source: quic/s2n-quic-transport/src/path/mod.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/mod.rs --- PathChallengeUpdated { path_challenge_status: Abandoned, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x, id: 0, is_active: false }, challenge_data: [0, 0, 0, 0, 0, 0, 0, 0] } diff --git a/quic/s2n-quic-transport/src/path/snapshots/path__tests__transmission_constraint_test__events.snap b/quic/s2n-quic-transport/src/path/snapshots/path__tests__transmission_constraint_test__events.snap new file mode 100644 index 0000000000..a46fa3c8ac --- /dev/null +++ b/quic/s2n-quic-transport/src/path/snapshots/path__tests__transmission_constraint_test__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/path/mod.rs +--- + diff --git a/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__challenge__events__dont_abandon_a_validated_challenge.snap b/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__challenge__events__dont_abandon_a_validated_challenge.snap deleted file mode 100644 index 36e2e315d8..0000000000 --- a/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__challenge__events__dont_abandon_a_validated_challenge.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/path/challenge.rs -expression: "" ---- - diff --git a/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__challenge__events__dont_abandon_disabled_state.snap b/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__challenge__events__dont_abandon_disabled_state.snap deleted file mode 100644 index 36e2e315d8..0000000000 --- a/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__challenge__events__dont_abandon_disabled_state.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/path/challenge.rs -expression: "" ---- - diff --git a/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__mod__events__transmission_constraint_test.snap b/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__mod__events__transmission_constraint_test.snap deleted file mode 100644 index ea2bd2fb6c..0000000000 --- a/quic/s2n-quic-transport/src/path/snapshots/quic__s2n-quic-transport__src__path__mod__events__transmission_constraint_test.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/path/mod.rs -expression: "" ---- - diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__detect_and_remove_lost_packets_nothing_lost.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__detect_and_remove_lost_packets_nothing_lost.snap deleted file mode 100644 index 064fe10379..0000000000 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__detect_and_remove_lost_packets_nothing_lost.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_transmit_burst_complete.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_transmit_burst_complete.snap deleted file mode 100644 index 064fe10379..0000000000 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_transmit_burst_complete.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__probe_packets_count_towards_bytes_in_flight.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__probe_packets_count_towards_bytes_in_flight.snap deleted file mode 100644 index 064fe10379..0000000000 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__probe_packets_count_towards_bytes_in_flight.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__update_pto_timer.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__update_pto_timer.snap deleted file mode 100644 index 064fe10379..0000000000 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__update_pto_timer.snap +++ /dev/null @@ -1,5 +0,0 @@ ---- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" ---- - diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__ack_non_congestion_controlled_acked_packets_pto_timer.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__ack_non_congestion_controlled_acked_packets_pto_timer__events.snap similarity index 85% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__ack_non_congestion_controlled_acked_packets_pto_timer.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__ack_non_congestion_controlled_acked_packets_pto_timer__events.snap index dd0a8660b6..7425e205e7 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__ack_non_congestion_controlled_acked_packets_pto_timer.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__ack_non_congestion_controlled_acked_packets_pto_timer__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- AckRangeReceived { packet_header: OneRtt { number: 1 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, ack_range: 1..=1 } RecoveryMetrics { path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, min_rtt: 500ms, smoothed_rtt: 500ms, latest_rtt: 500ms, rtt_variance: 250ms, max_ack_delay: 10ms, pto_count: 0, congestion_window: 15000, bytes_in_flight: 128, congestion_limited: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__detect_and_remove_lost_packets.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__detect_and_remove_lost_packets__events.snap similarity index 87% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__detect_and_remove_lost_packets.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__detect_and_remove_lost_packets__events.snap index fd897fc8c3..f5076e47dd 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__detect_and_remove_lost_packets.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__detect_and_remove_lost_packets__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- PacketLost { packet_header: OneRtt { number: 0 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, bytes_lost: 1, is_mtu_probe: false } PacketLost { packet_header: OneRtt { number: 7 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, bytes_lost: 1, is_mtu_probe: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__detect_and_remove_lost_packets_early_mtu_probe.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__detect_and_remove_lost_packets_early_mtu_probe__events.snap similarity index 76% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__detect_and_remove_lost_packets_early_mtu_probe.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__detect_and_remove_lost_packets_early_mtu_probe__events.snap index 010d0d5746..40eefb73c2 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__detect_and_remove_lost_packets_early_mtu_probe.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__detect_and_remove_lost_packets_early_mtu_probe__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- PacketLost { packet_header: OneRtt { number: 2 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, bytes_lost: 1472, is_mtu_probe: true } MtuUpdated { path_id: 0, mtu: 1200, cause: InitialMtuPacketLost, search_complete: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__detect_and_remove_lost_packets_mtu_probe.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__detect_and_remove_lost_packets_mtu_probe__events.snap similarity index 71% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__detect_and_remove_lost_packets_mtu_probe.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__detect_and_remove_lost_packets_mtu_probe__events.snap index b32c60743c..94b7324c72 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__detect_and_remove_lost_packets_mtu_probe.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__detect_and_remove_lost_packets_mtu_probe__events.snap @@ -1,5 +1,5 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- PacketLost { packet_header: OneRtt { number: 2 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, bytes_lost: 1201, is_mtu_probe: true } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__detect_and_remove_lost_packets_nothing_lost__events.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__detect_and_remove_lost_packets_nothing_lost__events.snap new file mode 100644 index 0000000000..956b06efd4 --- /dev/null +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__detect_and_remove_lost_packets_nothing_lost__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs +--- + diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__detect_lost_packets_persistent_congestion_path_aware.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__detect_lost_packets_persistent_congestion_path_aware__events.snap similarity index 81% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__detect_lost_packets_persistent_congestion_path_aware.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__detect_lost_packets_persistent_congestion_path_aware__events.snap index 5446c5700e..f14728ad81 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__detect_lost_packets_persistent_congestion_path_aware.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__detect_lost_packets_persistent_congestion_path_aware__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- PathCreated { active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:80, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, new: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.2:80, remote_cid: 0x5065657249640000000000000000506565724964, id: 1, is_active: false } } MtuUpdated { path_id: 1, mtu: 1200, cause: NewPath, search_complete: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__max_pto_backoff.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__max_pto_backoff__events.snap similarity index 91% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__max_pto_backoff.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__max_pto_backoff__events.snap index 1c4acd9daf..0f53e11687 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__max_pto_backoff.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__max_pto_backoff__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- RecoveryMetrics { path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, min_rtt: 333ms, smoothed_rtt: 333ms, latest_rtt: 333ms, rtt_variance: 166.5ms, max_ack_delay: 10ms, pto_count: 1, congestion_window: 15000, bytes_in_flight: 0, congestion_limited: false } RecoveryMetrics { path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, min_rtt: 333ms, smoothed_rtt: 333ms, latest_rtt: 333ms, rtt_variance: 166.5ms, max_ack_delay: 10ms, pto_count: 1, congestion_window: 15000, bytes_in_flight: 0, congestion_limited: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__new_client_space.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__new_client_space__events.snap similarity index 78% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__new_client_space.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__new_client_space__events.snap index b0833c6551..7597e213d4 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__new_client_space.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__new_client_space__events.snap @@ -1,5 +1,5 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- RecoveryMetrics { path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, min_rtt: 333ms, smoothed_rtt: 333ms, latest_rtt: 333ms, rtt_variance: 166.5ms, max_ack_delay: 10ms, pto_count: 0, congestion_window: 15000, bytes_in_flight: 0, congestion_limited: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__no_rtt_update_when_not_acknowledging_the_largest_acknowledged_packet.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__no_rtt_update_when_not_acknowledging_the_largest_acknowledged_packet__events.snap similarity index 92% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__no_rtt_update_when_not_acknowledging_the_largest_acknowledged_packet.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__no_rtt_update_when_not_acknowledging_the_largest_acknowledged_packet__events.snap index 2ccf6bcf3e..8f5350f00e 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__no_rtt_update_when_not_acknowledging_the_largest_acknowledged_packet.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__no_rtt_update_when_not_acknowledging_the_largest_acknowledged_packet__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- AckRangeReceived { packet_header: OneRtt { number: 1 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, ack_range: 1..=1 } RecoveryMetrics { path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, min_rtt: 500ms, smoothed_rtt: 500ms, latest_rtt: 500ms, rtt_variance: 250ms, max_ack_delay: 10ms, pto_count: 0, congestion_window: 15000, bytes_in_flight: 256, congestion_limited: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__no_rtt_update_when_receiving_packet_on_different_path.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__no_rtt_update_when_receiving_packet_on_different_path__events.snap similarity index 94% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__no_rtt_update_when_receiving_packet_on_different_path.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__no_rtt_update_when_receiving_packet_on_different_path__events.snap index 7be5d87893..7f1a679ce7 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__no_rtt_update_when_receiving_packet_on_different_path.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__no_rtt_update_when_receiving_packet_on_different_path__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- PathCreated { active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:80, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, new: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.2:80, remote_cid: 0x5065657249640000000000000000506565724964, id: 1, is_active: false } } MtuUpdated { path_id: 1, mtu: 1200, cause: NewPath, search_complete: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_ack_frame.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_ack_frame__events.snap similarity index 97% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_ack_frame.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_ack_frame__events.snap index f1a74d680e..7e6ff03aac 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_ack_frame.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_ack_frame__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- AckRangeReceived { packet_header: OneRtt { number: 1 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, ack_range: 1..=3 } RecoveryMetrics { path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, min_rtt: 500ms, smoothed_rtt: 500ms, latest_rtt: 500ms, rtt_variance: 250ms, max_ack_delay: 10ms, pto_count: 0, congestion_window: 15000, bytes_in_flight: 1280, congestion_limited: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_invalid_ack_frame.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_invalid_ack_frame__events.snap similarity index 94% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_invalid_ack_frame.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_invalid_ack_frame__events.snap index 284c5dc137..8682776967 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_invalid_ack_frame.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_invalid_ack_frame__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- AckRangeReceived { packet_header: OneRtt { number: 2 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, ack_range: 2..=2 } RecoveryMetrics { path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, min_rtt: 10ms, smoothed_rtt: 10ms, latest_rtt: 10ms, rtt_variance: 5ms, max_ack_delay: 10ms, pto_count: 0, congestion_window: 15000, bytes_in_flight: 512, congestion_limited: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_packet_sent.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_packet_sent__events.snap similarity index 86% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_packet_sent.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_packet_sent__events.snap index ab1084e436..f8bd0a0e62 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_packet_sent.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_packet_sent__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- PathCreated { active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:80, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, new: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.2:80, remote_cid: 0x5065657249640000000000000000506565724964, id: 1, is_active: false } } MtuUpdated { path_id: 1, mtu: 1200, cause: NewPath, search_complete: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_packet_sent_across_multiple_paths.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_packet_sent_across_multiple_paths__events.snap similarity index 81% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_packet_sent_across_multiple_paths.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_packet_sent_across_multiple_paths__events.snap index 5446c5700e..f14728ad81 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_packet_sent_across_multiple_paths.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_packet_sent_across_multiple_paths__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- PathCreated { active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:80, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, new: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.2:80, remote_cid: 0x5065657249640000000000000000506565724964, id: 1, is_active: false } } MtuUpdated { path_id: 1, mtu: 1200, cause: NewPath, search_complete: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_timeout.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_timeout__events.snap similarity index 96% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_timeout.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_timeout__events.snap index 43a5072e06..df65797c46 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_timeout.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_timeout__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- RecoveryMetrics { path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, min_rtt: 333ms, smoothed_rtt: 333ms, latest_rtt: 333ms, rtt_variance: 166.5ms, max_ack_delay: 10ms, pto_count: 0, congestion_window: 15000, bytes_in_flight: 0, congestion_limited: false } PacketLost { packet_header: OneRtt { number: 1 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, bytes_lost: 1, is_mtu_probe: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_timeout_packet_lost.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_timeout_packet_lost__events.snap similarity index 92% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_timeout_packet_lost.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_timeout_packet_lost__events.snap index 4aacb60ee6..e06240d917 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__on_timeout_packet_lost.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_timeout_packet_lost__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- RecoveryMetrics { path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, min_rtt: 333ms, smoothed_rtt: 333ms, latest_rtt: 333ms, rtt_variance: 166.5ms, max_ack_delay: 10ms, pto_count: 0, congestion_window: 15000, bytes_in_flight: 2, congestion_limited: false } PacketLost { packet_header: OneRtt { number: 1 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, bytes_lost: 1, is_mtu_probe: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_transmit_burst_complete__events.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_transmit_burst_complete__events.snap new file mode 100644 index 0000000000..956b06efd4 --- /dev/null +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__on_transmit_burst_complete__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs +--- + diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__packet_declared_lost_less_than_1_ms_from_loss_threshold.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__packet_declared_lost_less_than_1_ms_from_loss_threshold__events.snap similarity index 82% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__packet_declared_lost_less_than_1_ms_from_loss_threshold.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__packet_declared_lost_less_than_1_ms_from_loss_threshold__events.snap index 06a1eb7650..a89a6feecb 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__packet_declared_lost_less_than_1_ms_from_loss_threshold.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__packet_declared_lost_less_than_1_ms_from_loss_threshold__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- PacketLost { packet_header: OneRtt { number: 1 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, bytes_lost: 100, is_mtu_probe: false } Congestion { path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, source: PacketLoss } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__persistent_congestion.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__persistent_congestion__events.snap similarity index 97% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__persistent_congestion.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__persistent_congestion__events.snap index 72b22e0f91..5c3f4001c9 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__persistent_congestion.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__persistent_congestion__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- AckRangeReceived { packet_header: OneRtt { number: 1 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, ack_range: 1..=1 } RecoveryMetrics { path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, min_rtt: 600ms, smoothed_rtt: 674.99875ms, latest_rtt: 1.2s, rtt_variance: 374.9975ms, max_ack_delay: 10ms, pto_count: 0, congestion_window: 15000, bytes_in_flight: 2, congestion_limited: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__persistent_congestion_mtu_probe.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__persistent_congestion_mtu_probe__events.snap similarity index 92% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__persistent_congestion_mtu_probe.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__persistent_congestion_mtu_probe__events.snap index 3578fc1a01..7be150f464 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__persistent_congestion_mtu_probe.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__persistent_congestion_mtu_probe__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- AckRangeReceived { packet_header: OneRtt { number: 3 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, ack_range: 3..=3 } PacketLost { packet_header: OneRtt { number: 1 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, bytes_lost: 1, is_mtu_probe: true } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__persistent_congestion_multiple_periods.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__persistent_congestion_multiple_periods__events.snap similarity index 97% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__persistent_congestion_multiple_periods.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__persistent_congestion_multiple_periods__events.snap index 32273cc70d..e35822da92 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__persistent_congestion_multiple_periods.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__persistent_congestion_multiple_periods__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- AckRangeReceived { packet_header: OneRtt { number: 1 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, ack_range: 1..=1 } RecoveryMetrics { path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, min_rtt: 1.2s, smoothed_rtt: 1.2s, latest_rtt: 1.2s, rtt_variance: 600ms, max_ack_delay: 10ms, pto_count: 0, congestion_window: 15000, bytes_in_flight: 2, congestion_limited: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__persistent_congestion_not_ack_eliciting.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__persistent_congestion_not_ack_eliciting__events.snap similarity index 92% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__persistent_congestion_not_ack_eliciting.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__persistent_congestion_not_ack_eliciting__events.snap index ed5e2d0222..b4b2781a2a 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__persistent_congestion_not_ack_eliciting.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__persistent_congestion_not_ack_eliciting__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- AckRangeReceived { packet_header: OneRtt { number: 3 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, ack_range: 3..=3 } PacketLost { packet_header: OneRtt { number: 1 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, bytes_lost: 1, is_mtu_probe: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__persistent_congestion_period_does_not_start_until_rtt_sample.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__persistent_congestion_period_does_not_start_until_rtt_sample__events.snap similarity index 92% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__persistent_congestion_period_does_not_start_until_rtt_sample.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__persistent_congestion_period_does_not_start_until_rtt_sample__events.snap index a76e34c1cf..cec20603d4 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__persistent_congestion_period_does_not_start_until_rtt_sample.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__persistent_congestion_period_does_not_start_until_rtt_sample__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- AckRangeReceived { packet_header: OneRtt { number: 3 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, ack_range: 3..=3 } PacketLost { packet_header: OneRtt { number: 1 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, bytes_lost: 1, is_mtu_probe: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__probe_packets_count_towards_bytes_in_flight__events.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__probe_packets_count_towards_bytes_in_flight__events.snap new file mode 100644 index 0000000000..956b06efd4 --- /dev/null +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__probe_packets_count_towards_bytes_in_flight__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs +--- + diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_call_on_mtu_update.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__process_new_acked_packets_call_on_mtu_update__events.snap similarity index 86% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_call_on_mtu_update.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__process_new_acked_packets_call_on_mtu_update__events.snap index fd5c4ac067..f45a312ed4 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_call_on_mtu_update.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__process_new_acked_packets_call_on_mtu_update__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- AckRangeReceived { packet_header: OneRtt { number: 0 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, ack_range: 0..=0 } MtuUpdated { path_id: 0, mtu: 1472, cause: ProbeAcknowledged, search_complete: true } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_congestion_controller.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__process_new_acked_packets_congestion_controller__events.snap similarity index 91% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_congestion_controller.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__process_new_acked_packets_congestion_controller__events.snap index 7254f0d592..d1a1717550 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_congestion_controller.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__process_new_acked_packets_congestion_controller__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- PathCreated { active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:80, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, new: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.2:80, remote_cid: 0x5065657249640000000000000000506565724964, id: 1, is_active: false } } MtuUpdated { path_id: 1, mtu: 1200, cause: NewPath, search_complete: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_failed_ecn_validation_does_not_cause_congestion_event.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__process_new_acked_packets_failed_ecn_validation_does_not_cause_congestion_event__events.snap similarity index 90% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_failed_ecn_validation_does_not_cause_congestion_event.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__process_new_acked_packets_failed_ecn_validation_does_not_cause_congestion_event__events.snap index dd51cf4e95..be50f3697f 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_failed_ecn_validation_does_not_cause_congestion_event.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__process_new_acked_packets_failed_ecn_validation_does_not_cause_congestion_event__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- EcnStateChanged { path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, state: Unknown } AckRangeReceived { packet_header: OneRtt { number: 1 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, ack_range: 1..=10 } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_process_ecn.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__process_new_acked_packets_process_ecn__events.snap similarity index 96% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_process_ecn.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__process_new_acked_packets_process_ecn__events.snap index 88ec426c8c..29e6f63b5b 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_process_ecn.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__process_new_acked_packets_process_ecn__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- EcnStateChanged { path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, state: Unknown } AckRangeReceived { packet_header: OneRtt { number: 2 }, path: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 0.0.0.0:0, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, ack_range: 2..=5 } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_pto_timer.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__process_new_acked_packets_pto_timer__events.snap similarity index 94% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_pto_timer.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__process_new_acked_packets_pto_timer__events.snap index 4fa86afbc6..9bb7532efa 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_pto_timer.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__process_new_acked_packets_pto_timer__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- PathCreated { active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:80, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, new: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.2:80, remote_cid: 0x5065657249640000000000000000506565724964, id: 1, is_active: false } } MtuUpdated { path_id: 1, mtu: 1200, cause: NewPath, search_complete: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_update_pto_timer.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__process_new_acked_packets_update_pto_timer__events.snap similarity index 94% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_update_pto_timer.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__process_new_acked_packets_update_pto_timer__events.snap index d88317e569..b43bb27463 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__process_new_acked_packets_update_pto_timer.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__process_new_acked_packets_update_pto_timer__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- PathCreated { active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:80, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, new: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.2:80, remote_cid: 0x5065657249640000000000000000506565724964, id: 1, is_active: false } } MtuUpdated { path_id: 1, mtu: 1200, cause: NewPath, search_complete: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__remove_lost_packets_persistent_congestion_path_aware.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__remove_lost_packets_persistent_congestion_path_aware__events.snap similarity index 91% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__remove_lost_packets_persistent_congestion_path_aware.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__remove_lost_packets_persistent_congestion_path_aware__events.snap index 4f18916553..2c17662ff3 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__remove_lost_packets_persistent_congestion_path_aware.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__remove_lost_packets_persistent_congestion_path_aware__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- PathCreated { active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:80, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, new: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.2:80, remote_cid: 0x5065657249640000000000000000506565724964, id: 1, is_active: false } } MtuUpdated { path_id: 1, mtu: 1200, cause: NewPath, search_complete: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__rtt_update_when_receiving_ack_from_multiple_paths.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__rtt_update_when_receiving_ack_from_multiple_paths__events.snap similarity index 91% rename from quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__rtt_update_when_receiving_ack_from_multiple_paths.snap rename to quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__rtt_update_when_receiving_ack_from_multiple_paths__events.snap index a3e58f2545..bf76b90f8f 100644 --- a/quic/s2n-quic-transport/src/recovery/manager/snapshots/quic__s2n-quic-transport__src__recovery__manager__tests__events__rtt_update_when_receiving_ack_from_multiple_paths.snap +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__rtt_update_when_receiving_ack_from_multiple_paths__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/recovery/manager/tests.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs --- PathCreated { active: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.1:80, remote_cid: 0x5065657249640000000000000000506565724964, id: 0, is_active: true }, new: Path { local_addr: 0.0.0.0:0, local_cid: 0x4c6f63616c4900000000000000004c6f63616c49, remote_addr: 127.0.0.2:80, remote_cid: 0x5065657249640000000000000000506565724964, id: 1, is_active: false } } MtuUpdated { path_id: 1, mtu: 1200, cause: NewPath, search_complete: false } diff --git a/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__update_pto_timer__events.snap b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__update_pto_timer__events.snap new file mode 100644 index 0000000000..956b06efd4 --- /dev/null +++ b/quic/s2n-quic-transport/src/recovery/manager/snapshots/recovery__manager__tests__update_pto_timer__events.snap @@ -0,0 +1,5 @@ +--- +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/recovery/manager/tests.rs +--- + diff --git a/quic/s2n-quic-transport/src/space/snapshots/quic__s2n-quic-transport__src__space__handshake_status__events__client_test.snap b/quic/s2n-quic-transport/src/space/snapshots/space__handshake_status__tests__client_test__events.snap similarity index 56% rename from quic/s2n-quic-transport/src/space/snapshots/quic__s2n-quic-transport__src__space__handshake_status__events__client_test.snap rename to quic/s2n-quic-transport/src/space/snapshots/space__handshake_status__tests__client_test__events.snap index 81fd9cad50..9c635e9b46 100644 --- a/quic/s2n-quic-transport/src/space/snapshots/quic__s2n-quic-transport__src__space__handshake_status__events__client_test.snap +++ b/quic/s2n-quic-transport/src/space/snapshots/space__handshake_status__tests__client_test__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/space/handshake_status.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/space/handshake_status.rs --- HandshakeStatusUpdated { status: Complete } HandshakeStatusUpdated { status: HandshakeDoneAcked } diff --git a/quic/s2n-quic-transport/src/space/snapshots/quic__s2n-quic-transport__src__space__handshake_status__events__server_test.snap b/quic/s2n-quic-transport/src/space/snapshots/space__handshake_status__tests__server_test__events.snap similarity index 56% rename from quic/s2n-quic-transport/src/space/snapshots/quic__s2n-quic-transport__src__space__handshake_status__events__server_test.snap rename to quic/s2n-quic-transport/src/space/snapshots/space__handshake_status__tests__server_test__events.snap index 6bbbc7ee4e..afe5d0f224 100644 --- a/quic/s2n-quic-transport/src/space/snapshots/quic__s2n-quic-transport__src__space__handshake_status__events__server_test.snap +++ b/quic/s2n-quic-transport/src/space/snapshots/space__handshake_status__tests__server_test__events.snap @@ -1,6 +1,6 @@ --- -source: quic/s2n-quic-transport/src/space/handshake_status.rs -expression: "" +source: quic/s2n-quic-core/src/event/snapshot.rs +input_file: quic/s2n-quic-transport/src/space/handshake_status.rs --- HandshakeStatusUpdated { status: Complete } HandshakeStatusUpdated { status: Confirmed }