Skip to content
This repository was archived by the owner on Apr 16, 2025. It is now read-only.

Conversation

@dkaufhold
Copy link

Didn't find under which circumstances these Exceptions get raised.
https://github.com/shoutit/shoutit-api/blob/dev/src/shoutit_twilio/views.py#L58

Which then leaves 6 lines uncovered.

@nourspace
Copy link
Member

The fact that

    user = models.OneToOneField(settings.AUTH_USER_MODEL, related_name='video_client')

and due to multiple requests from same client, race condition may occur. I solved it this way for now. A general solution for concurrency and race conditions is required for many endpoints.

@dkaufhold
Copy link
Author

Ok, since there's no way to reliably create race conditions in tests, I'd consider this done.

@nourspace nourspace closed this Sep 23, 2017
@nourspace nourspace changed the base branch from dev to develop September 26, 2017 22:38
@nourspace nourspace reopened this Sep 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants