'``this_node_uuid`` retries if the node UUID is unknown.'

def test_this_node_uuid_retry(self):

    self.cluster_state_service.apply_changes([UpdateNodeStateEra(era=uuid4(), uuid=self.node_1.uuid)])
    def as_deployment(original=self.cluster_state_service.as_deployment):
        result = original()
        self.cluster_state_service.apply_changes(changes=[UpdateNodeStateEra(era=self.era, uuid=self.node_1.uuid)])
        return result
    self.patch(self.cluster_state_service, 'as_deployment', as_deployment)
    d = self.client.this_node_uuid()
    d.addCallback(self.assertEqual, self.node_1.uuid)
    return d
