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

dewrich pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git

commit fdcdfcc72d4db8cb0ee95fc44c83ba962582562b
Author: Dan Kirkwood <dang...@gmail.com>
AuthorDate: Tue May 1 21:40:14 2018 +0000

    add snapshot to compare test
---
 traffic_ops/testing/compare/compare.go | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/traffic_ops/testing/compare/compare.go 
b/traffic_ops/testing/compare/compare.go
index 58e3bad..b11f884 100644
--- a/traffic_ops/testing/compare/compare.go
+++ b/traffic_ops/testing/compare/compare.go
@@ -295,10 +295,14 @@ func main() {
                }
                log.Printf("CDNNames are %+v", cdnNames)
 
-               wg.Add(len(cdnNames))
+               wg.Add(2*len(cdnNames))
                for _, cdnName := range cdnNames {
                        log.Print("CDN ", cdnName)
                        go func(c string) {
+                               testRoute(tos, `api/1.3/cdns/`+c+`/snapshot`)
+                               wg.Done()
+                       }(cdnName)
+                       go func(c string) {
                                testRoute(tos, 
`api/1.3/cdns/`+c+`/snapshot/new`)
                                wg.Done()
                        }(cdnName)

-- 
To stop receiving notification emails like this one, please contact
dewr...@apache.org.

Reply via email to