Bugzilla – Bug 1501
Tcp test crash using another test case.
Last modified: 2012-12-07 10:04:25 EST
Created attachment 1442 [details] Patch usable to reproduce the crash. I was trying to reproduce a bug using tcp-test and I found this: Find in attachment the little patch to tcp-test.cc then tcp-test will crash.
Is this still a bug? I'm not able to replicate with ns-3-dev. See below: $:~/Code/NS3/Diff/ns-3-allinone/ns-3-dev$ hg diff diff -r 0c6d395e5db2 src/internet/test/tcp-test.cc --- a/src/internet/test/tcp-test.cc Thu Dec 06 08:45:57 2012 -0800 +++ b/src/internet/test/tcp-test.cc Thu Dec 06 14:09:19 2012 -0500 @@ -438,10 +438,12 @@ AddTestCase (new TcpTestCase (13, 200, 200, 200, 200, false)); AddTestCase (new TcpTestCase (13, 1, 1, 1, 1, false)); AddTestCase (new TcpTestCase (100000, 100, 50, 100, 20, false)); + AddTestCase (new TcpTestCase (10000, 1000, 2000, 100, 20, false)); AddTestCase (new TcpTestCase (13, 200, 200, 200, 200, true)); AddTestCase (new TcpTestCase (13, 1, 1, 1, 1, true)); AddTestCase (new TcpTestCase (100000, 100, 50, 100, 20, true)); + AddTestCase (new TcpTestCase (10000, 1000, 2000, 100, 20, true)); } } g_tcpTestSuite; $:~/Code/NS3/Diff/ns-3-allinone/ns-3-dev$ ./test.py --suite=tcp [...] PASS: TestSuite tcp
You are right it is not more a bug, I just try using current ns-3-dev.