mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-07 15:53:10 +00:00
Harden local smoke: more startup time and persistent state dir
This commit is contained in:
parent
38beca21cc
commit
fc5edbd012
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -139,6 +139,7 @@ jobs:
|
|||||||
LOCAL_DEMO_EXECUTORS: 1
|
LOCAL_DEMO_EXECUTORS: 1
|
||||||
NOMOS_CIRCUITS: ${{ github.workspace }}/.tmp/nomos-circuits
|
NOMOS_CIRCUITS: ${{ github.workspace }}/.tmp/nomos-circuits
|
||||||
NOMOS_KZGRS_PARAMS_PATH: ${{ github.workspace }}/.tmp/nomos-circuits/pol/proving_key.zkey
|
NOMOS_KZGRS_PARAMS_PATH: ${{ github.workspace }}/.tmp/nomos-circuits/pol/proving_key.zkey
|
||||||
|
NOMOS_STATE_DIR: ${{ runner.temp }}/nomos-state
|
||||||
CARGO_INCREMENTAL: 0
|
CARGO_INCREMENTAL: 0
|
||||||
CARGO_PROFILE_DEV_DEBUG: 0
|
CARGO_PROFILE_DEV_DEBUG: 0
|
||||||
RUSTFLAGS: -C debuginfo=0
|
RUSTFLAGS: -C debuginfo=0
|
||||||
@ -150,6 +151,7 @@ jobs:
|
|||||||
echo "CARGO_TARGET_DIR=${{ runner.temp }}/target-local" >> "$GITHUB_ENV"
|
echo "CARGO_TARGET_DIR=${{ runner.temp }}/target-local" >> "$GITHUB_ENV"
|
||||||
echo "NOMOS_LOG_DIR=${{ runner.temp }}/local-logs" >> "$GITHUB_ENV"
|
echo "NOMOS_LOG_DIR=${{ runner.temp }}/local-logs" >> "$GITHUB_ENV"
|
||||||
mkdir -p "${{ runner.temp }}/local-logs"
|
mkdir -p "${{ runner.temp }}/local-logs"
|
||||||
|
mkdir -p "${{ runner.temp }}/nomos-state"
|
||||||
- name: Install system dependencies (Linux)
|
- name: Install system dependencies (Linux)
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@ -190,7 +190,7 @@ impl Executor {
|
|||||||
config,
|
config,
|
||||||
api: ApiClient::new(addr, Some(testing_addr)),
|
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;
|
node.wait_online().await;
|
||||||
})
|
})
|
||||||
.await
|
.await
|
||||||
|
|||||||
@ -219,7 +219,7 @@ impl Validator {
|
|||||||
api: ApiClient::new(addr, Some(testing_addr)),
|
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;
|
node.wait_online().await;
|
||||||
})
|
})
|
||||||
.await?;
|
.await?;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user