You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ja...@apache.org on 2016/11/03 16:30:07 UTC

[trafficserver] branch master updated: TestCase fix: Fix retry counter

This is an automated email from the ASF dual-hosted git repository.

jacksontj pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  d0adc9a   TestCase fix: Fix retry counter
d0adc9a is described below

commit d0adc9a5cf19655b7fc97922a1f20e3620c052cc
Author: Thomas Jackson <ja...@gmail.com>
AuthorDate: Thu Nov 3 09:26:06 2016 -0700

    TestCase fix: Fix retry counter
    
    ++count in python adds nothing to count, it does not incr the count variable. This simply fixes that to increment so it doesn't retry forever
---
 ci/tsqa/tests/test_tls_ticket_key_rotation.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ci/tsqa/tests/test_tls_ticket_key_rotation.py b/ci/tsqa/tests/test_tls_ticket_key_rotation.py
index 45094ee..7af883a 100644
--- a/ci/tsqa/tests/test_tls_ticket_key_rotation.py
+++ b/ci/tsqa/tests/test_tls_ticket_key_rotation.py
@@ -150,7 +150,7 @@ class TestTLSTicketKeyRotation(helpers.EnvironmentCase):
                 old_renewed = stdout
                 break
             except Exception:
-                ++count
+                count += 1
                 # If we have tried 30 times and the command still failed, quit here.
                 if count > 30:
                     self.assertTrue(False, "Failed to get the number of renewed keys!")

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].