From: Gary Lockyer Date: Thu, 18 Jul 2019 03:29:26 +0000 (+1200) Subject: traffic replay test: Populate total_converations and instance_id X-Git-Tag: tdb-1.4.2~514 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7abfa6778f309bc3c1cfdb45042f708e81cfad9d;p=thirdparty%2Fsamba.git 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 --- 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