Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 34d0101

Browse files
committed
Relax constraints on flaky tests (due to // runs)
1 parent 830914c commit 34d0101

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

local/e2e/backend_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package e2e
22

33
import (
4-
"strings"
54
"testing"
65

76
"github.com/stretchr/testify/assert"
@@ -36,8 +35,7 @@ func (m *LocalBackendTestSuite) TestRun() {
3635
defer func() {
3736
m.NewDockerCommand("rm", "-f", "nginx").ExecOrDie()
3837
}()
39-
lines := strings.Split(out, "\n")
40-
assert.Equal(m.T(), 3, len(lines))
38+
assert.Contains(m.T(), out, "nginx")
4139
}
4240

4341
func (m *LocalBackendTestSuite) TestRunWithPorts() {

0 commit comments

Comments
 (0)