Skip to content

Commit

Permalink
fix concurrent issue in ovn-nb_test.go (#4697)
Browse files Browse the repository at this point in the history
Signed-off-by: dolibali <[email protected]>
Co-authored-by: dolibali <[email protected]>
  • Loading branch information
dolibali and dolibali authored Nov 5, 2024
1 parent 5db3270 commit d71f0a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/ovs/ovn-nb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,11 @@ func (suite *OvnClientTestSuite) testCreateLogicalPatchPort() {

t.Run("failed client to create router port with chassises", func(t *testing.T) {
t.Parallel()
lsName := "test-create-ls-failed-client"
lrName := "test-create-lr-failed-client"
lspName := "test-create-lsp-failed-client"
lrpName := "test-create-lrp-failed-client"

// failed to create with failed client
err := failedNbClient.CreateLogicalPatchPort(lsName, lrName, lspName, lrpName, "192.168.230.1/24,fc00::0af4:01/112", util.GenerateMac(), chassises...)
require.Error(t, err)
Expand Down

0 comments on commit d71f0a2

Please sign in to comment.