If this is trying to fix a failure below, you may misread the log output.
```
Run: 9-general: Failed
     Starting TestRun 9-general : No Issues found - Passed
        Reason: Started!
     Process: Default: Failed
       Test : Checking that ReturnCode == 0 - Passed
          Reason: Returned Value: 0 == 0
       Stream stderr : Checking that StdErrFile matches gold/remap-DNS-200.gold 
- Failed
          Reason: File differences
           Gold File : 
/var/jenkins/workspace/autest-github/src/tests/gold_tests/remap/gold/remap-DNS-200.gold
           Data File : 
/var/tmp/ausb-4145.6468/remap_http/_tmp_remap_http_9-general_Default/stream.stderr.txt
             * Rebuilt URL to: http://testDNS.com/
             *   Trying 127.0.0.1...
             * TCP_NODELAY set
               % Total    % Received % Xferd  Average Speed   Time    Time     
Time  Current
                                              Dload  Upload   Total   Spent    
Left  Speed
             
               0     0    0     0    0     0      0      0 --:--:-- --:--:-- 
--:--:--     0* Connected to 127.0.0.1 (127.0.0.1) port 61787 (#0)
             > GET http://testDNS.com/ HTTP/1.1
             > Host: testDNS.com
             > User-Agent: curl/7.59.0
             > Accept: */*
           - ``
           - < HTTP/1.1 200 OK
           - < Date: ``
           - < Age: ``
           - < Transfer-Encoding: chunked
           - < Proxy-Connection: keep-alive
           ? ^                   ^    ^
           
           + > Proxy-Connection: Keep-Alive
           ? ^                   ^    ^
           
           + > 
           - < Server: ATS/``
           - <
```

The first Proxy-Connection header line has `<` but the second one has '>', 
which means the first one is sent by a client and the second one is sent by a 
server. I think they are not comparable unless its expected behavior is echoing 
exactly the same value.
```
- < Proxy-Connection: keep-alive
+ > Proxy-Connection: Keep-Alive
```

[ Full content available at: https://github.com/apache/trafficserver/pull/4167 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to