You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by dg...@apache.org on 2018/04/24 17:13:39 UTC

[incubator-trafficcontrol] branch master updated: fixed failing TestGetServerUpdateStatus test

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 879ba8f  fixed failing TestGetServerUpdateStatus test
879ba8f is described below

commit 879ba8f464ec0652979a4986a3a2e8be1e5716c8
Author: Jesse Rivas <je...@comcast.com>
AuthorDate: Tue Apr 24 11:09:34 2018 -0600

    fixed failing TestGetServerUpdateStatus test
---
 traffic_ops/traffic_ops_golang/server/servers_update_status_test.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/traffic_ops/traffic_ops_golang/server/servers_update_status_test.go b/traffic_ops/traffic_ops_golang/server/servers_update_status_test.go
index c72e2d7..0e77136 100644
--- a/traffic_ops/traffic_ops_golang/server/servers_update_status_test.go
+++ b/traffic_ops/traffic_ops_golang/server/servers_update_status_test.go
@@ -38,8 +38,8 @@ func TestGetServerUpdateStatus(t *testing.T) {
 	db := sqlx.NewDb(mockDB, "sqlmock")
 	defer db.Close()
 
-	serverStatusRow := sqlmock.NewRows([]string{"id", "host_name", "type", "combined_reval_pending", "upd_pending", "status", "parent_upd_pending", "parent_reval_pending"})
-	serverStatusRow.AddRow(1, "host_name_1", "EDGE", true, true, "ONLINE", true, false)
+	serverStatusRow := sqlmock.NewRows([]string{"id", "host_name", "type", "server_reval_pending", "use_reval_pending", "upd_pending", "status", "parent_upd_pending", "parent_reval_pending"})
+	serverStatusRow.AddRow(1, "host_name_1", "EDGE", true, true, true, "ONLINE", true, false)
 
 	mock.ExpectQuery("SELECT").WillReturnRows(serverStatusRow)
 

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