Explorar o código

Trim response

Pēteris Ņikiforovs %!s(int64=10) %!d(string=hai) anos
pai
achega
d1bd78889f
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      toolset/benchmark/test_types/framework_test_type.py

+ 1 - 2
toolset/benchmark/test_types/framework_test_type.py

@@ -75,8 +75,7 @@ class FrameworkTestType:
     # Get response body
     p = subprocess.Popen(["curl", "-m", "15", "-s", url], stdout=PIPE, stderr=PIPE)
     (out, err) = p.communicate()
-    #print "  Response (trimmed to 40 bytes): \"%s\"" % out[:40]
-    print "  Response: \"%s\"" % out
+    print "  Response (trimmed to 40 bytes): \"%s\"" % out[:40]
     return out
   
   def verify(self, base_url):