The functional test's client serializes each request content before
sending it through the wire. The _post_large_bulk_insert used to do
string formatting on a already serialized list, which ended up in a
double serialization, hence the request exceeded the max size.
The patch changes the behavior mentioned above in favor of using plain
python objects and letting the client do the serialization step.
Reviewed: https:/ /review. openstack. org/134210 /git.openstack. org/cgit/ openstack/ zaqar/commit/ ?id=5935b6cba41 3789236e2414bc8 a25f0beb65b4d3
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5935b6cba413789 236e2414bc8a25f 0beb65b4d3
Author: Flavio Percoco <email address hidden>
Date: Thu Nov 13 14:38:15 2014 +0100
Let the test client serialize request's body
The functional test's client serializes each request content before bulk_insert used to do
sending it through the wire. The _post_large_
string formatting on a already serialized list, which ended up in a
double serialization, hence the request exceeded the max size.
The patch changes the behavior mentioned above in favor of using plain
python objects and letting the client do the serialization step.
Change-Id: If67422ea48eddf d9d35f06c68bac6 a3e417fe214
Closes-bug: #1383604