Skip to content

Commit e5a3c77

Browse files
authored
Merge pull request #801 from swagatbora90/add-retry-for-flaky
Retry buildkite isolated tests since they are known to be flaky
2 parents 7cef962 + 1892235 commit e5a3c77

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.buildkite/pipeline.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# permissions and limitations under the License.
1313

1414
steps:
15-
1615
- label: ":docker: Build"
1716
agents:
1817
queue: "${BUILDKITE_AGENT_META_DATA_QUEUE:-default}"
@@ -34,7 +33,7 @@ steps:
3433
queue: "${BUILDKITE_AGENT_META_DATA_QUEUE:-default}"
3534
distro: "${BUILDKITE_AGENT_META_DATA_DISTRO}"
3635
hostname: "${BUILDKITE_AGENT_META_DATA_HOSTNAME}"
37-
command: 'sudo losetup -l'
36+
command: "sudo losetup -l"
3837

3938
- wait
4039

@@ -77,6 +76,10 @@ steps:
7776
- "runtime/logs/*"
7877
command:
7978
- make -C runtime integ-test FICD_DM_POOL=build_${BUILDKITE_BUILD_NUMBER}_runtime
79+
retry:
80+
automatic:
81+
- exit_status: "*"
82+
limit: 3
8083

8184
# - label: ":running: snapshotter isolated tests"
8285
# agents:
@@ -137,4 +140,3 @@ steps:
137140
command:
138141
- make -C runtime critest FICD_DM_POOL=build_${BUILDKITE_BUILD_NUMBER}_critest
139142
timeout_in_minutes: 10
140-

0 commit comments

Comments
 (0)