mirror of
https://github.com/containers/podman.git
synced 2025-10-18 03:33:32 +08:00
enable netavark specific tests
These are copies of the CNI tests with modifications wherever neccessary. Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
@ -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]
|
||||
}
|
||||
|
Reference in New Issue
Block a user