From 816408e9065e3d09a9a9d10f070a4d59dcad23e6 Mon Sep 17 00:00:00 2001 From: Valera V Harseko Date: Wed, 12 Aug 2026 09:10:28 +0300 Subject: [PATCH] [#861] Fail fast when the CI Test replication step hangs dsreplication enable can stall forever while initializing registration information on a newly added replica; without a step timeout such a hang holds the runner until the default 6-hour job limit. Cap the step at 30 minutes (normal duration is about 4 minutes). --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f92f3b7d43..b96b6248ff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -237,6 +237,9 @@ jobs: rm -rf opendj-server-legacy/target/package/opendj/{config,db,changelogDb,logs,tmp} - name: Test replication if: runner.os == 'Linux' + # dsreplication enable can hang indefinitely; without a timeout a hang + # holds the runner until the 6-hour job limit. Normal duration is ~4 min. + timeout-minutes: 30 run: | cp -r ./opendj-server-legacy/target/package/opendj ./opendj-server-legacy/target/package/opendj1 cp -r ./opendj-server-legacy/target/package/opendj ./opendj-server-legacy/target/package/opendj2