Harden local smoke: more startup time and persistent state dir

This commit is contained in:
andrussal 2025-12-04 14:00:04 +01:00
parent 38beca21cc
commit fc5edbd012
3 changed files with 4 additions and 2 deletions

View File

@ -139,6 +139,7 @@ jobs:
LOCAL_DEMO_EXECUTORS: 1
NOMOS_CIRCUITS: ${{ github.workspace }}/.tmp/nomos-circuits
NOMOS_KZGRS_PARAMS_PATH: ${{ github.workspace }}/.tmp/nomos-circuits/pol/proving_key.zkey
NOMOS_STATE_DIR: ${{ runner.temp }}/nomos-state
CARGO_INCREMENTAL: 0
CARGO_PROFILE_DEV_DEBUG: 0
RUSTFLAGS: -C debuginfo=0
@ -150,6 +151,7 @@ jobs:
echo "CARGO_TARGET_DIR=${{ runner.temp }}/target-local" >> "$GITHUB_ENV"
echo "NOMOS_LOG_DIR=${{ runner.temp }}/local-logs" >> "$GITHUB_ENV"
mkdir -p "${{ runner.temp }}/local-logs"
mkdir -p "${{ runner.temp }}/nomos-state"
- name: Install system dependencies (Linux)
if: runner.os == 'Linux'
run: |

View File

@ -190,7 +190,7 @@ impl Executor {
config,
api: ApiClient::new(addr, Some(testing_addr)),
};
tokio::time::timeout(adjust_timeout(Duration::from_secs(30)), async {
tokio::time::timeout(adjust_timeout(Duration::from_secs(60)), async {
node.wait_online().await;
})
.await

View File

@ -219,7 +219,7 @@ impl Validator {
api: ApiClient::new(addr, Some(testing_addr)),
};
tokio::time::timeout(adjust_timeout(Duration::from_secs(30)), async {
tokio::time::timeout(adjust_timeout(Duration::from_secs(60)), async {
node.wait_online().await;
})
.await?;