'``write_request_load_scenario`` starts and stops without collapsing.'

@capture_logging(None)
def test_setup_generates_dataset(self, _logger):

    c = Clock()
    cluster = self.make_cluster(self.get_fake_flocker_client_instance())
    s = write_request_load_scenario(c, cluster, 5, sample_size=3)
    def assert_created(returned_datasets):
        self.assertNotEqual(returned_datasets, [])
    d = s.request._create_dataset(self.node1)
    d.addCallback(s.request._set_dataset_id)
    self.successResultOf(d)
    d2 = s.request.control_service.list_datasets_configuration()
    d2.addCallback(assert_created)
    s.stop()
