Fail fast while connecting to replicas (#29212)

Since we have the auto-retry mechanism for replicas,
there is not much benefit in trying 5 times before deciding
to move on.

In the earlier model, we would fail the server startup,
so it made sense to check as many times as possible.

Also reducing the sleep interval so that we can improve
the boot up time in case of a bad replica.
```release-note
NONE
```

* fix: Add job name to the publish report step

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>
Этот коммит содержится в:
Agniva De Sarker
2024-11-14 09:45:52 +05:30
коммит произвёл GitHub
родитель 94036947c8
Коммит 63c959f1d3
3 изменённых файлов: 10 добавлений и 7 удалений

1
.github/workflows/server-test-template.yml поставляемый
Просмотреть файл

@@ -79,6 +79,7 @@ jobs:
with:
report_paths: server/report.xml
check_name: ${{ inputs.name }} (Results)
job_name: ${{ inputs.name }}
require_tests: true
- name: Report retried tests via webhook (master || release-*)
if: ${{ steps.report.outputs.retried > 0 && (github.ref_name == 'master' || startsWith(github.ref_name, 'release-')) }}