Relax constraints on flaky tests (due to // runs)
This commit is contained in:
parent
830914cb15
commit
34d01012e4
|
|
@ -1,7 +1,6 @@
|
||||||
package e2e
|
package e2e
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"strings"
|
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
|
@ -36,8 +35,7 @@ func (m *LocalBackendTestSuite) TestRun() {
|
||||||
defer func() {
|
defer func() {
|
||||||
m.NewDockerCommand("rm", "-f", "nginx").ExecOrDie()
|
m.NewDockerCommand("rm", "-f", "nginx").ExecOrDie()
|
||||||
}()
|
}()
|
||||||
lines := strings.Split(out, "\n")
|
assert.Contains(m.T(), out, "nginx")
|
||||||
assert.Equal(m.T(), 3, len(lines))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *LocalBackendTestSuite) TestRunWithPorts() {
|
func (m *LocalBackendTestSuite) TestRunWithPorts() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue