CohortMembership Race Condition Test
By using the before_after library, we can force a race condition to reliably occur in the CohortMembership.save() method. This unit test will do just that, and ensure that our race-condition-handling code functions as it should.
Showing
Please
register
or
sign in
to comment