rimashah25 commented on a change in pull request #4881:
URL: https://github.com/apache/trafficcontrol/pull/4881#discussion_r456087045
##########
File path: traffic_ops/testing/api/v2/servers_test.go
##########
@@ -101,17 +101,23 @@ func UpdateTestServers(t *testing.T) {
hostName := firstServer.HostName
// Retrieve the server by hostname so we can get the id for the Update
resp, _, err := TOSession.GetServerByHostName(hostName)
+ originalHostname := resp[0].HostName
Review comment:
Test cases to test the following:
1. Change in hostname updated the field hostName but doesn't impact xmppid
2. Also, any change to xmppid, the Update() ignores the change.
----------------------------------------------------------------
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]