Skip to content

Commit

Permalink
Removed obsolete test for pr #384
Browse files Browse the repository at this point in the history
  • Loading branch information
vfarcic committed Dec 2, 2017
1 parent 48f5789 commit 9e13e61
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions proxy/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package proxy
import (
"os"
"testing"

"github.com/stretchr/testify/suite"
)

Expand All @@ -28,15 +29,6 @@ func (s *UtilTestSuite) Test_HaProxyCmd_DoesNotReturnErrorWhenStdErrIsEmpty() {
s.NoError(err)
}

func (s *UtilTestSuite) Test_HaProxyCmd_ReturnsError_WhenOutputContainsCouldNotResolveAddress() {
haProxyCmdOrig := haProxyCmd
defer func() { haProxyCmd = haProxyCmdOrig }()
haProxyCmd = "echo"
err := cmdRunHa([]string{"'I really could not resolve address and something else'"})

s.Error(err)
}

func (s *UtilTestSuite) Test_HaProxyCmd_ReturnsError_WhenStdErrIsNotEmpty() {
haProxyCmdOrig := haProxyCmd
defer func() { haProxyCmd = haProxyCmdOrig }()
Expand All @@ -45,4 +37,3 @@ func (s *UtilTestSuite) Test_HaProxyCmd_ReturnsError_WhenStdErrIsNotEmpty() {

s.Error(err)
}

0 comments on commit 9e13e61

Please sign in to comment.