diff options
author | Lokesh Mandvekar <lsm5@fedoraproject.org> | 2022-02-11 13:34:18 -0500 |
---|---|---|
committer | Lokesh Mandvekar <lsm5@fedoraproject.org> | 2022-02-11 13:34:28 -0500 |
commit | 6f9f78f7f2395919f7f9a3a74f002119733e30e9 (patch) | |
tree | 7d93a203f3683b442ed3f245f68258bad169a023 /test/e2e/common_test.go | |
parent | 564404b4fa7eea5d93756627ce98ca68fd19a72b (diff) | |
download | podman-6f9f78f7f2395919f7f9a3a74f002119733e30e9.tar.gz podman-6f9f78f7f2395919f7f9a3a74f002119733e30e9.tar.bz2 podman-6f9f78f7f2395919f7f9a3a74f002119733e30e9.zip |
enable netavark specific tests
These are copies of the CNI tests with modifications wherever
neccessary.
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
Diffstat (limited to 'test/e2e/common_test.go')
-rw-r--r-- | test/e2e/common_test.go | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go index f843a8984..b1cd76d27 100644 --- a/test/e2e/common_test.go +++ b/test/e2e/common_test.go @@ -771,15 +771,15 @@ func SkipIfNotActive(unit string, reason string) { } } -func SkipIfNetavark(p *PodmanTestIntegration) { - if p.NetworkBackend == Netavark { - Skip("This test is not compatible with the netavark network backend") +func SkipIfCNI(p *PodmanTestIntegration) { + if p.NetworkBackend == CNI { + Skip("this test is not compatible with the CNI network backend") } } -func SkipUntilAardvark(p *PodmanTestIntegration) { +func SkipIfNetavark(p *PodmanTestIntegration) { if p.NetworkBackend == Netavark { - Skip("Re-enable when aardvark is functional") + Skip("This test is not compatible with the netavark network backend") } } @@ -1038,3 +1038,7 @@ func ncz(port int) bool { } return false } + +func createNetworkName(name string) string { + return name + stringid.GenerateNonCryptoID()[:10] +} |