"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "staging/src/k8s.io/legacy-cloud-providers/gce/gce_loadbalancer_internal_test.go" between
kubernetes-1.18.14.tar.gz and kubernetes-1.18.15.tar.gz

About: Kubernetes is a platform for automating deployment, scaling, and operations of application containers across clusters of hosts (written in "Go"). 1.18.x series.

gce_loadbalancer_internal_test.go  (kubernetes-1.18.14):gce_loadbalancer_internal_test.go  (kubernetes-1.18.15)
skipping to change at line 953 skipping to change at line 953
require.NoError(t, err) require.NoError(t, err)
status, err := gce.ensureInternalLoadBalancer( status, err := gce.ensureInternalLoadBalancer(
params.clusterName, params.clusterName,
params.clusterID, params.clusterID,
params.service, params.service,
params.existingFwdRule, params.existingFwdRule,
params.nodes, params.nodes,
) )
assert.Error(t, err, "Should return an error when "+desc) assert.Error(t, err, "Should return an error when "+desc)
assert.Nil(t, status, "Should not return a status when "+ desc) assert.Nil(t, status, "Should not return a status when "+ desc)
// ensure that the temporarily reserved IP address is rel
eased upon sync errors
ip, err := gce.GetRegionAddress(gce.GetLoadBalancerName(c
ontext.TODO(), params.clusterName, params.service), gce.region)
require.Error(t, err)
assert.Nil(t, ip)
}) })
} }
} }
func TestMergeHealthChecks(t *testing.T) { func TestMergeHealthChecks(t *testing.T) {
t.Parallel() t.Parallel()
for _, tc := range []struct { for _, tc := range []struct {
desc string desc string
checkIntervalSec int64 checkIntervalSec int64
timeoutSec int64 timeoutSec int64
 End of changes. 1 change blocks. 
0 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)