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

dragon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new f7dfa80  Orders k-v pairs to avoid making too many files
f7dfa80 is described below

commit f7dfa80a86431dc7c834751bfe6edcf476932578
Author: Derek Dagit <der...@oath.com>
AuthorDate: Tue Sep 25 15:40:11 2018 -0500

    Orders k-v pairs to avoid making too many files
---
 tests/gold_tests/redirect/redirect_actions.test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/gold_tests/redirect/redirect_actions.test.py 
b/tests/gold_tests/redirect/redirect_actions.test.py
index ae4e0f4..23404ca 100644
--- a/tests/gold_tests/redirect/redirect_actions.test.py
+++ b/tests/gold_tests/redirect/redirect_actions.test.py
@@ -94,7 +94,7 @@ def makeTestCase(redirectTarget, expectedAction, scenario):
     :param scenario: Defines the ACL to configure and the addresses to test.
     '''
 
-    config = ','.join(':'.join(t) for t in 
((addr.name.lower(),action.name.lower()) for (addr,action) in scenario.items()))
+    config = ','.join(':'.join(t) for t in 
sorted((addr.name.lower(),action.name.lower()) for (addr,action) in 
scenario.items()))
 
     normRedirectTarget = normalizeForAutest(redirectTarget)
     normConfig = normalizeForAutest(config)

Reply via email to