Skip to content

Commit f9d131e

Browse files
committed
dummy
1 parent 1507125 commit f9d131e

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

netmaster/resources/vlanresource_test.go

-11
Original file line numberDiff line numberDiff line change
@@ -367,17 +367,6 @@ func TestAutoVLANCfgResourceInit(t *testing.T) {
367367
}
368368
}
369369

370-
func TestAutoVLANCfgResourceReInit(t *testing.T) {
371-
rsrc := &AutoVLANCfgResource{}
372-
rsrc.StateDriver = vlanRsrcStateDriver
373-
rsrc.ID = VlanRsrcValidInitID
374-
vlans := vlanRsrcValidationStateMap[rsrc.ID].expCfg[0].VLANs.Clone()
375-
err := rsrc.ReInit(vlans)
376-
if err != nil {
377-
t.Fatalf("Vlan resource init failed. Error: %s", err)
378-
}
379-
}
380-
381370
func TestAutoVLANCfgResourceDeInit(t *testing.T) {
382371
rsrc := &AutoVLANCfgResource{}
383372
rsrc.StateDriver = vlanRsrcStateDriver

netmaster/resources/vxlanresource_test.go

-10
Original file line numberDiff line numberDiff line change
@@ -431,16 +431,6 @@ func TestAutoVXLANCfgResourceInit(t *testing.T) {
431431
}
432432
}
433433

434-
func TestAutoVXLANCfgResourceReInit(t *testing.T) {
435-
rsrc := &AutoVXLANCfgResource{}
436-
rsrc.StateDriver = vxlanRsrcStateDriver
437-
rsrc.ID = VXLANRsrcValidInitID
438-
err := rsrc.ReInit(&vxlanRsrcValidationStateMap[rsrc.ID].expCfg[0])
439-
if err != nil {
440-
t.Fatalf("VXLAN resource init failed. Error: %s", err)
441-
}
442-
}
443-
444434
func TestAutoVXLANCfgResourceDeInit(t *testing.T) {
445435
rsrc := &AutoVXLANCfgResource{}
446436
rsrc.StateDriver = vxlanRsrcStateDriver

0 commit comments

Comments
 (0)