diff --git a/testing/internal/e2e/tests/base/bytes_up_down_empty_test.go b/testing/internal/e2e/tests/base/bytes_up_down_empty_test.go index b125e8084f..a6e59e40e7 100644 --- a/testing/internal/e2e/tests/base/bytes_up_down_empty_test.go +++ b/testing/internal/e2e/tests/base/bytes_up_down_empty_test.go @@ -108,7 +108,7 @@ func TestCliBytesUpDownEmpty(t *testing.T) { t.Logf("bytes_up: %d, bytes_down: %d", bytesUp, bytesDown) return nil }, - backoff.WithMaxRetries(backoff.NewConstantBackOff(3*time.Second), 5), + backoff.WithMaxRetries(backoff.NewConstantBackOff(3*time.Second), 6), func(err error, td time.Duration) { t.Logf("%s. Retrying...", err.Error()) }, diff --git a/testing/internal/e2e/tests/base/bytes_up_down_test.go b/testing/internal/e2e/tests/base/bytes_up_down_test.go index c072132462..73b7428c84 100644 --- a/testing/internal/e2e/tests/base/bytes_up_down_test.go +++ b/testing/internal/e2e/tests/base/bytes_up_down_test.go @@ -68,7 +68,7 @@ func TestCliBytesUpDownTransferData(t *testing.T) { "-o", "IdentitiesOnly=yes", // forces the use of the provided key "-p", "{{boundary.port}}", // this is provided by boundary "{{boundary.ip}}", - "for i in {1..10}; do pwd; sleep 1s; done", + "for i in {1..30}; do pwd; sleep 1s; done", ), ) }() @@ -143,7 +143,7 @@ func TestCliBytesUpDownTransferData(t *testing.T) { newBytesUp = int(newSessionReadResult.Item.Connections[0].BytesUp) newBytesDown = int(newSessionReadResult.Item.Connections[0].BytesDown) - if !(newBytesDown > bytesDown) || !(newBytesUp > bytesUp) { + if !(newBytesDown > bytesDown) { return fmt.Errorf( "bytes_up: %d, bytes_down: %d, bytes_up/bytes_down is not greater than previous value", newBytesUp, @@ -154,7 +154,7 @@ func TestCliBytesUpDownTransferData(t *testing.T) { t.Logf("bytes_up: %d, bytes_down: %d", newBytesUp, newBytesDown) return nil }, - backoff.WithMaxRetries(backoff.NewConstantBackOff(3*time.Second), 5), + backoff.WithMaxRetries(backoff.NewConstantBackOff(3*time.Second), 6), func(err error, td time.Duration) { t.Logf("%s. Retrying...", err.Error()) },