rimashah25 commented on a change in pull request #5350:
URL: https://github.com/apache/trafficcontrol/pull/5350#discussion_r546086543
##########
File path: traffic_ops/testing/api/v3/topologies_test.go
##########
@@ -274,6 +274,8 @@ func UpdateValidateTopologyORGServerCacheGroup(t
*testing.T) {
_, _, err = TOSession.UpdateTopology(*remoteDS[0].Topology, *resp)
if err == nil {
t.Fatalf("shouldnot UPDATE topology:%v to %v, but update was a
success", *remoteDS[0].Topology, newNodes[0].Cachegroup)
+ } else if !strings.Contains(err.Error(), "ORG servers are assigned to
delivery services that use this topology, and their cachegroups cannot be
removed:") {
+ t.Errorf("ORG servers are assigned to delivery services that
use this topology, and their cachegroups cannot be removed")
Review comment:
Done.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]