added fix in if statement to fix simple error when adding ipv6 address

This commit is contained in:
2021-07-10 00:05:31 +04:00
parent 5be8778652
commit ae2500ed4b
4 changed files with 17 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ import (
"testing"
)
func TestDocker(t *testing.T) {
func TestDockerUbuntuSSHDProvided(t *testing.T) {
// Testing by providing default container name
_,err := BuildRunContainer(2,"false","docker-ubuntu-sshd")
@@ -12,13 +12,15 @@ func TestDocker(t *testing.T) {
t.Error(err)
}
// Testing if no container name is provided if default is used
_,err = BuildRunContainer(2,"false","")
}
func TestDockerDefaultContainer(t *testing.T) {
// Testing by providing without providing default container name
_,err := BuildRunContainer(2,"false","")
if err != nil {
t.Error(err)
}
}
func TestContainerHorovod(t *testing.T) {