Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle FB truncating batch #605

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dmitchell
Copy link

@dmitchell dmitchell commented Apr 17, 2017

Sometimes FB is responding with fewer than the submitted batch. I have been logging it for a while, and it seems to be a simple truncation. I've asked FB for confirmation and clarification. (My code often submits O(10^5) commands at a time.) I believe the truncation has to do w create commands.

I'm not sure how, for LIVE test, to disable the before :each allow.. and return() logic so that it really submits the request to FB.

Thanks for submitting a pull request to Koala! A huge portion of the gem has been built by awesome people (like you) from the Ruby community.

Here are a few things that will help get your pull request merged in quickly. None of this is required -- you can delete anything not relevant. If in doubt, open the PR! I want to help.

[x] My PR has tests and they pass!
[x] The live tests pass for my changes (LIVE=true rspec -- unrelated failures are okay).
[x] The PR is based on the most recent master commit and has no merge conflicts.

If you have any questions, feel free to open an issue or comment on your PR!

Note: Koala has a code of conduct. Check it out.

@dmitchell
Copy link
Author

Ah, I see some of the batch tests don't expect a response and thus don't mock it which is causing an infinite loop in the test. I'll fix that.

@benveniste
Copy link

Seems OK, but shouldn't Faceplant return a 207 on these?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants