diff --git a/src/wifi/test/power-rate-adaptation-test.cc b/src/wifi/test/power-rate-adaptation-test.cc index 8b533f436..19fe7c6e0 100644 --- a/src/wifi/test/power-rate-adaptation-test.cc +++ b/src/wifi/test/power-rate-adaptation-test.cc @@ -330,6 +330,7 @@ PowerRateAdaptationTest::TestParf () NS_TEST_ASSERT_MSG_EQ (mode.GetDataRate (txVector.GetChannelWidth (), txVector.IsShortGuardInterval (), 1), 54000000, "PARF: Incorrect vale of data rate"); NS_TEST_ASSERT_MSG_EQ (power, 17, "PARF: Incorrect value of power level"); + Simulator::Destroy (); } void @@ -565,6 +566,7 @@ PowerRateAdaptationTest::TestAparf () NS_TEST_ASSERT_MSG_EQ (mode.GetDataRate (txVector.GetChannelWidth (), txVector.IsShortGuardInterval (), 1), 54000000, "APARF: Incorrect vale of data rate"); NS_TEST_ASSERT_MSG_EQ (power, 17, "APARF: Incorrect value of power level"); + Simulator::Destroy (); } void