Skip to content

Commit 70b81d5

Browse files
committed
Increase timeout for instable test on windows
1 parent bec4e88 commit 70b81d5

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

integration/windows/config_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ tests:
3131
should work with timeout:
3232
command: echo hello
3333
config:
34-
timeout: 100ms
34+
timeout: 5m
3535
exit-code: 0

pkg/runtime/runtime_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func getExampleTestSuite() []TestCase {
123123
{
124124
Command: CommandUnderTest{
125125
Cmd: "echo hello",
126-
Timeout: "50ms",
126+
Timeout: "5s",
127127
},
128128
Expected: Expected{
129129
Stdout: ExpectedOut{

pkg/runtime/validator_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ output`
9797
func Test_ValidateExpectedOut_MatchLines_ExpectedLineDoesNotExists(t *testing.T) {
9898
value := `test`
9999

100-
got := validateExpectedOut(value, ExpectedOut{Lines: map[int]string{2: "my", 3: "line"}})
100+
got := validateExpectedOut(value, ExpectedOut{Lines: map[int]string{2: "my"}})
101101

102102
assert.False(t, got.Success)
103103
diff := `Line number 2 does not exists in result:

0 commit comments

Comments
 (0)