Increase default maximum safe_body function
There is this specific test test_absolute_limits_negative which's xml
version is bigger than 2048 characters and was truncated on tempest.log
that is fixed increasing that maximum even though I'm not sure how long
xml tests will live here.
Closes-Bug: #1383996
Change-Id: I771921e3c14333afc791e21395c0edf9feba5ee0
diff --git a/tempest/common/rest_client.py b/tempest/common/rest_client.py
index c290dad..6f2e1bd 100644
--- a/tempest/common/rest_client.py
+++ b/tempest/common/rest_client.py
@@ -42,7 +42,7 @@
# convert a structure into a string safely
-def safe_body(body, maxlen=2048):
+def safe_body(body, maxlen=4096):
try:
text = six.text_type(body)
except UnicodeDecodeError: