Skip to content

Commit

Permalink
Added additional check that connection_draining_timeout_sec was reset…
Browse files Browse the repository at this point in the history
… in tests.
  • Loading branch information
rileykarson committed Jun 16, 2017
1 parent 5ed02a4 commit 4c30b31
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions google/resource_compute_region_backend_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ func TestAccComputeRegionBackendService_withConnectionDrainingAndUpdate(t *testi
},
},
})

if svc.ConnectionDraining.DrainingTimeoutSec != 0 {
t.Errorf("Expected ConnectionDraining.DrainingTimeoutSec == 0, got %d", svc.ConnectionDraining.DrainingTimeoutSec)
}
}

func TestAccComputeRegionBackendService_withSessionAffinity(t *testing.T) {
Expand Down

0 comments on commit 4c30b31

Please sign in to comment.