summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2019-07-18 15:29:26 +1200
committerAndrew Bartlett <abartlet@samba.org>2019-07-24 02:24:27 +0000
commit7abfa6778f309bc3c1cfdb45042f708e81cfad9d (patch)
tree7ddbe50b2fe8ef7f186d46c88bf7dbba8539c742 /python
parent6d6fe4993876d3374ae7ffeaf55d660ffa6b450b (diff)
downloadsamba-7abfa6778f309bc3c1cfdb45042f708e81cfad9d.tar.gz
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 <gary@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python')
-rw-r--r--python/samba/tests/emulate/traffic_packet.py4
1 files changed, 3 insertions, 1 deletions
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