def METHOD_NAME(self):
    time.sleep(0.1)
    sub = self.startProcess(
        command=self.sudo,
        arguments=[self.tedge, "mqtt", "sub", "--no-topic", "tedge/#"],
        stdouterr="tedge_sub",
        background=True,
    )
    sub = self.startProcess(
        command=self.sudo,
        arguments=[self.tedge, "mqtt", "sub", "collectd/#"],
        stdouterr="collectd_sub",
        background=True,
    )
    # Wait for a small amount of time to give tedge sub time
    # to initialize and capture couple of batches of messages
    # that are published by tedge-mapper-collectd.
    time.sleep(12)
    # Kill the subscriber process explicitly with sudo as PySys does
    # not have the rights to do it
    kill = self.startProcess(
        command=self.sudo,
        arguments=["killall", "tedge"],
        stdouterr="kill_out",
    )