Skip to content

Commit

Permalink
Small bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
malinradtke committed Sep 18, 2024
1 parent 1a271e9 commit 46d7b83
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ async def _start_scenario(self):
'content': 't' * traffic_config['packet_length_B'],
'creation_time': msg_dispatch_time,
}
msg_dispatch_time += traffic_config['interval_ms']
self._msg_counter += 1
self._message_buffer.append((message_dict, InfoMessage))
self.results_recorder.add_comm_results(msg_id=msg_id,
Expand All @@ -121,6 +120,7 @@ async def _start_scenario(self):
sender=source,
receiver=destination,
content=f'traffic with {traffic_config["packet_length_B"]} Bytes')
msg_dispatch_time += traffic_config['interval_ms']
for container_name, container in self._client_container_mapping.items():
output = await container.step(simulation_time=self._start_time, incoming_messages=[])
self.process_mango_outputs(container_name, output)
Expand Down

0 comments on commit 46d7b83

Please sign in to comment.