Skip to content
Permalink
Browse files

Fix unit test to track on updated error message

  • Loading branch information
s1061123 authored and dougbtv committed Nov 15, 2019
1 parent ecc474a commit a314f90dda5dbc0b240b5c40e964b7fa0897a7d2
Showing with 1 addition and 1 deletion.
  1. +1 −1 multus/multus_test.go
@@ -1169,7 +1169,7 @@ var _ = Describe("multus operations", func() {
_, err = cmdAdd(args, fExec, nil)
Expect(fExec.addIndex).To(Equal(2))
Expect(fExec.delIndex).To(Equal(2))
Expect(err).To(MatchError("Multus: error adding pod to network \"other1\": delegateAdd: error invoking DelegateAdd - \"other-plugin\": error in getting result from AddNetwork: expected plugin failure"))
Expect(err).To(MatchError("Multus: [/]: error adding container to network \"other1\": delegateAdd: error invoking DelegateAdd - \"other-plugin\": error in getting result from AddNetwork: expected plugin failure"))

// Cleanup default network file.
if _, errStat := os.Stat(configPath); errStat == nil {

0 comments on commit a314f90

Please sign in to comment.
You can’t perform that action at this time.