Stop pushing all details in Test DB 68/70868/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Sun, 23 Aug 2020 02:53:16 +0000 (04:53 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sun, 23 Aug 2020 02:55:52 +0000 (04:55 +0200)
It raises 413 Client Error: Request Entity Too Large for url [1]

[1] https://build.opnfv.org/ci/job/functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-latest-xrally_kubernetes_full-run/1/console

Change-Id: I165f7aec53d8ce1e567491a5b5559f00b1fe4a4c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 1f720b0fabbcf162366160a4fa9a46807e53f8bc)

functest_kubernetes/rally/rally_kubernetes.py

index 0c7951e..8007e84 100644 (file)
@@ -75,7 +75,7 @@ class RallyKubernetes(testcase.TestCase):
         rapi.task.start(
             deployment='my-kubernetes', config=task,
             task=task_instance["uuid"])
-        self.details = rapi.task.get(task_instance["uuid"], detailed=True)
+        self.details = rapi.task.get(task_instance["uuid"], detailed=False)
         self.__logger.debug("details: %s", self.details)
         if self.details['pass_sla']:
             self.result = 100