Skip to content

Commit

Permalink
Fix integration test failure (#748)
Browse files Browse the repository at this point in the history
  • Loading branch information
wenyingd authored May 28, 2020
1 parent 7fa846f commit c781f3d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/integration/ovs/ofctrl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ func TestPacketOutIn(t *testing.T) {
require.Nil(t, err, fmt.Sprintf("Failed to prepare OVS bridge: %v", err))
defer DeleteOVSBridge(br)

bridge := binding.NewOFBridge(br)
bridge := newOFBridge(br)
table0 := bridge.CreateTable(0, 1, binding.TableMissActionNext)
table1 := bridge.CreateTable(1, 2, binding.TableMissActionNext)

Expand Down Expand Up @@ -647,9 +647,9 @@ func TestTLVMap(t *testing.T) {
br := "br10"
err := PrepareOVSBridge(br)
require.Nil(t, err, fmt.Sprintf("Failed to prepare OVS bridge: %v", err))
//defer DeleteOVSBridge(br)
defer DeleteOVSBridge(br)

bridge := binding.NewOFBridge(br)
bridge := newOFBridge(br)
table := bridge.CreateTable(0, 1, binding.TableMissActionNext)

ch := make(chan struct{})
Expand Down Expand Up @@ -685,7 +685,7 @@ func TestMoveTunMetadata(t *testing.T) {
require.Nil(t, err, fmt.Sprintf("Failed to prepare OVS bridge: %v", err))
//defer DeleteOVSBridge(br)

bridge := binding.NewOFBridge(br)
bridge := newOFBridge(br)
table := bridge.CreateTable(0, 1, binding.TableMissActionNext)

err = bridge.Connect(maxRetry, make(chan struct{}))
Expand Down

0 comments on commit c781f3d

Please sign in to comment.