'Eventually we give up on retrying if the precondition fails too many
times.'

def test_too_many_retries(self):

    d = conditional_create(self.client, self.reactor, (lambda config: None), primary=self.node_id)
    for _ in range(39):
        self.assertNoResult(d)
        self.successResultOf(self.client.create_dataset(primary=self.node_id))
        self.advance()
    self.failureResultOf(d, ConfigurationChanged)
