From 7abfa6778f309bc3c1cfdb45042f708e81cfad9d Mon Sep 17 00:00:00 2001 From: Gary Lockyer Date: Thu, 18 Jul 2019 15:29:26 +1200 Subject: [PATCH] traffic replay test: Populate total_converations and instance_id Ensure that the total_conversations and instance_id attributes are assigned a value in the replay contexts passed to test cases. Signed-off-by: Gary Lockyer Reviewed-by: Andrew Bartlett --- python/samba/tests/emulate/traffic_packet.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/samba/tests/emulate/traffic_packet.py b/python/samba/tests/emulate/traffic_packet.py index 56b126759b2..6533c679ea4 100644 --- a/python/samba/tests/emulate/traffic_packet.py +++ b/python/samba/tests/emulate/traffic_packet.py @@ -55,7 +55,9 @@ class TrafficEmulatorPacketTests(samba.tests.TestCase): creds=self.credentials, tempdir=self.tempdir, ou=traffic.ou_name(self.ldb, 1), - domain_sid=self.domain_sid) + domain_sid=self.domain_sid, + total_conversations=3, + instance_id=1) self.conversation = traffic.Conversation() self.conversation.conversation_id = 1 -- 2.47.3