Skip to content

Commit ec76e3c

Browse files
authored
Merge pull request #793 from EmilyShepherd/fix-ci
Fix Tests: Update portmap test's iptables error check
2 parents c30b47a + 6b30e29 commit ec76e3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/meta/portmap/portmap_integ_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ var _ = Describe("portmap integration tests", func() {
207207

208208
// Verify iptables rules are gone
209209
_, err = ipt.List("nat", dnatChainName)
210-
Expect(err).To(MatchError(ContainSubstring("iptables: No chain/target/match by that name.")))
210+
Expect(err).To(HaveOccurred())
211211

212212
// Check that everything succeeded *after* we clean up the network
213213
if !contOK {

0 commit comments

Comments
 (0)