From 2078e54154d4dc14b238f0c0af18f8f9b2ae2ca2 Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Wed, 28 Sep 2016 21:43:51 -0700 Subject: [PATCH] wifi: Restore Simulator::Destroy () calls in the PARF unit test --- src/wifi/test/power-rate-adaptation-test.cc | 2 ++ 1 file changed, 2 insertions(+) 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