dangogh commented on a change in pull request #2967: Fixed compare tool 
generating diffs based on timestamp in configuration file headers
URL: https://github.com/apache/trafficcontrol/pull/2967#discussion_r229710129
 
 

 ##########
 File path: traffic_ops/testing/compare/compare.go
 ##########
 @@ -138,7 +138,59 @@ func testRoute(tos []*Connect, route string) {
        wg.Wait()
        close(ch)
 
-       if res[0].Res == res[1].Res {
 
 Review comment:
   expected that most lines **will** be identical..   the config file comments 
with timestamps are a minority,  so why not do the fast string comparison first 
and skip if the lines are the same?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to