mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-15 06:43:54 +00:00
Fix test failure in sync_test.go.
This commit is contained in:
parent
996ddde3fa
commit
302c59f50f
@ -148,8 +148,7 @@ func TestNodeSyncUpdate(t *testing.T) {
|
||||
desc: "update alias from node",
|
||||
mode: SyncFromCloud,
|
||||
node: nodeWithCIDRRange,
|
||||
events: []fakeEvent{{"node1", "CloudCIDRAllocatorInvalidMode"}},
|
||||
wantError: true,
|
||||
events: nil,
|
||||
},
|
||||
{
|
||||
desc: "update alias from node",
|
||||
@ -169,8 +168,7 @@ func TestNodeSyncUpdate(t *testing.T) {
|
||||
mode: SyncFromCluster,
|
||||
node: nodeWithoutCIDRRange,
|
||||
fake: fakeAPIs{aliasRange: test.MustParseCIDR("10.1.2.3/16")},
|
||||
events: []fakeEvent{{"node1", "CloudCIDRAllocatorInvalidMode"}},
|
||||
wantError: true,
|
||||
events: nil,
|
||||
},
|
||||
{
|
||||
desc: "allocate range",
|
||||
|
Loading…
Reference in New Issue
Block a user