diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_nat.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_nat.py b/test/test_nat.py index 7c841f515c4..c2e36be7697 100644 --- a/test/test_nat.py +++ b/test/test_nat.py @@ -4208,7 +4208,7 @@ class TestNAT44(MethodHolder): self.initiate_tcp_session(self.pg0, self.pg1) sessions = self.vapi.nat44_user_session_dump(self.pg0.remote_ip4n, 0) - self.assertEqual(len(sessions) - start_sessnum, 2) + self.assertEqual(len(sessions) - start_sessnum, 1) except: self.logger.error("TCP session termination failed") raise @@ -4271,7 +4271,7 @@ class TestNAT44(MethodHolder): self.initiate_tcp_session(self.pg0, self.pg1) sessions = self.vapi.nat44_user_session_dump(self.pg0.remote_ip4n, 0) - self.assertEqual(len(sessions) - start_sessnum, 2) + self.assertEqual(len(sessions) - start_sessnum, 1) except: self.logger.error("TCP session termination failed") raise @@ -4333,7 +4333,7 @@ class TestNAT44(MethodHolder): self.initiate_tcp_session(self.pg0, self.pg1) sessions = self.vapi.nat44_user_session_dump(self.pg0.remote_ip4n, 0) - self.assertEqual(len(sessions) - start_sessnum, 2) + self.assertEqual(len(sessions) - start_sessnum, 1) except: self.logger.error("TCP session termination failed") raise |