diff options
author | 2016-01-24 08:27:22 -0500 | |
---|---|---|
committer | 2016-01-24 08:28:19 -0500 | |
commit | 7294d7f162e19e0ccd3a37eafbafe22cf63df6a4 (patch) | |
tree | 69300aec21fbd1fd6dd93c0ada94fdf4137dfdc5 /src/gtest | |
parent | 42160bad7056d26b6f5b8c42efc0a8bf5302dfef (diff) |
fixed issue trex-172: Console -m 100% is L2 and no L1
http://trex-tgn.cisco.com/youtrack/issue/trex-172
Diffstat (limited to 'src/gtest')
-rw-r--r-- | src/gtest/trex_stateless_gtest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtest/trex_stateless_gtest.cpp b/src/gtest/trex_stateless_gtest.cpp index 70f397b1..2c55fc39 100644 --- a/src/gtest/trex_stateless_gtest.cpp +++ b/src/gtest/trex_stateless_gtest.cpp @@ -2887,7 +2887,7 @@ TEST_F(basic_stl, graph_generator1) { const TrexStreamsGraphObj *obj = graph.generate(streams); - EXPECT_EQ(obj->get_max_bps(), 405120); + EXPECT_EQ(obj->get_max_bps_l2(), 405120); EXPECT_EQ(obj->get_max_pps(), 50); for (auto stream : streams) { @@ -2939,7 +2939,7 @@ TEST_F(basic_stl, graph_generator2) { const TrexStreamsGraphObj *obj = graph.generate(streams); EXPECT_EQ(obj->get_max_pps(), 1000.0); - EXPECT_EQ(obj->get_max_bps(), (1000 * (128 + 4) * 8)); + EXPECT_EQ(obj->get_max_bps_l2(), (1000 * (128 + 4) * 8)); for (auto stream : streams) { |