'Verify that the stop method actually works. In this case, working
means that the process doesn\'t send any more HTTP requests after we
stop().
This test seems to be failing @ CircleCI because of a test dependency
issue. If run alone in your workstation it will PASS, but if run at
CircleCI the count plugin doesn\'t seem to start.'

@attr('ci_fails')
def test_stop(self):

    core_start = Process(target=self.w3afcore.start, name='TestRunner')
    core_start.daemon = True
    core_start.start()
    time.sleep(5)
    count_before_stop = self.count_plugin.count
    self.assertGreater(count_before_stop, 0)
    self.w3afcore.stop()
    core_start.join()
    count_after_stop = self.count_plugin.count
    self.assertEqual(count_after_stop, count_before_stop)
