You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2016/11/14 17:07:30 UTC

[27/53] [abbrv] incubator-trafficcontrol git commit: Fix t/api/1.2/server.t in psql branch

Fix t/api/1.2/server.t in psql branch


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/831ba459
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/831ba459
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/831ba459

Branch: refs/heads/psql-rebase
Commit: 831ba459a93b6bb9852f5dfef635eed68a752fd9
Parents: 2c06a49
Author: Jan van Doorn <ja...@cable.comcast.com>
Authored: Sat Sep 24 12:58:11 2016 -0600
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Fri Nov 11 13:57:56 2016 -0700

----------------------------------------------------------------------
 traffic_ops/app/t/api/1.2/server.t | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/831ba459/traffic_ops/app/t/api/1.2/server.t
----------------------------------------------------------------------
diff --git a/traffic_ops/app/t/api/1.2/server.t b/traffic_ops/app/t/api/1.2/server.t
index c4c4d51..5e5038a 100644
--- a/traffic_ops/app/t/api/1.2/server.t
+++ b/traffic_ops/app/t/api/1.2/server.t
@@ -66,7 +66,7 @@ ok $t->get_ok('/api/1.2/servers?type=MID&status=ONLINE')->status_is(200)->or( su
 ok $t->post_ok('/api/1.2/servers/create' => {Accept => 'application/json'} => json => {
 			"hostName" => "server1",
 			"domainName" => "example-domain.com",
-			"cachegroup" => "cg1-mid-northeast",
+			"cachegroup" => "cg2-mid-northwest",
 			"cdnName" => "cdn1",
 			"ipAddress" => "10.74.27.194",
 			"interfaceName" => "bond0",
@@ -82,7 +82,7 @@ ok $t->post_ok('/api/1.2/servers/create' => {Accept => 'application/json'} => js
 ok $t->post_ok('/api/1.2/servers/create' => {Accept => 'application/json'} => json => {
 			"hostName" => "server2",
 			"domainName" => "example-domain.com",
-			"cachegroup" => "mid-northeast-group",
+			"cachegroup" => "cg2-mid-northwest",
 			"cdnName" => "cdn1",
 			"ipAddress" => "10.74.27.194",
 			"interfaceName" => "bond0",
@@ -98,7 +98,7 @@ ok $t->post_ok('/api/1.2/servers/create' => {Accept => 'application/json'} => js
 ok $t->post_ok('/api/1.2/servers/create' => {Accept => 'application/json'} => json => {
 			"hostName" => "server3",
 			"domainName" => "example-domain.com",
-			"cachegroup" => "cg1-mid-northeast",
+			"cachegroup" => "cg2-mid-northwest",
 			"cdnName" => "cdn1",
 			"ipAddress" => "10.74.27.85",
 			"interfaceName" => "bond0",
@@ -116,7 +116,7 @@ ok $t->post_ok('/api/1.2/servers/create' => {Accept => 'application/json'} => js
 ok $t->post_ok('/api/1.2/servers/create' => {Accept => 'application/json'} => json => {
 			"hostName" => "server3",
 			"domainName" => "example-domain.com",
-			"cachegroup" => "mid-northeast-group",
+			"cachegroup" => "cg2-mid-northwest",
 			"cdnName" => "cdn1",
 			"ipAddress" => "10.74.27.77",
 			"interfaceName" => "bond0",