Only run existing network test with kic driver

pull/9538/head
Priya Wadhwa 2020-12-16 11:11:39 -08:00
parent 55f496492c
commit 787cf77d6c
1 changed files with 3 additions and 0 deletions

View File

@ -67,6 +67,9 @@ func TestKicCustomNetwork(t *testing.T) {
}
func TestKicExistingNetwork(t *testing.T) {
if !KicDriver() {
t.Skip("only runs with docker driver")
}
// create custom network
networkName := "existing-network"
if _, err := oci.CreateNetwork(oci.Docker, networkName); err != nil {