You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by oc...@apache.org on 2020/10/29 19:45:40 UTC

[trafficcontrol] 01/06: Fix 403 forbidden in deliveryservices_test (#5214)

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

ocket8888 pushed a commit to branch 5.0.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit 3999693d289be179ce7b88d7fbd8a8154be455f9
Author: Srijeet Chatterjee <30...@users.noreply.github.com>
AuthorDate: Wed Oct 28 12:10:30 2020 -0600

    Fix 403 forbidden in deliveryservices_test (#5214)
    
    (cherry picked from commit d7b817fa03e2fc3c4fc88dafe0d77a6f31c0e585)
---
 traffic_ops/testing/api/v3/deliveryservices_test.go | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/traffic_ops/testing/api/v3/deliveryservices_test.go b/traffic_ops/testing/api/v3/deliveryservices_test.go
index caad394..f21c50a 100644
--- a/traffic_ops/testing/api/v3/deliveryservices_test.go
+++ b/traffic_ops/testing/api/v3/deliveryservices_test.go
@@ -259,10 +259,6 @@ func SSLDeliveryServiceCDNUpdateTest(t *testing.T) {
 	ds.CDNID = &newCdn.ID
 	ds.CDNName = &newCdn.Name
 	_, _, err = TOSession.UpdateDeliveryServiceV30WithHdr(*ds.ID, ds, nil)
-	if err != nil {
-		t.Fatal(err)
-	}
-	_, _, err = TOSession.UpdateDeliveryServiceV30WithHdr(*ds.ID, ds, nil)
 	if err == nil {
 		t.Fatal("should not be able to update delivery service (cdn) as it has ssl keys")
 	}