Skip to content

Commit 56e9331

Browse files
committed
wip(ci): DO NOT MERGE
1 parent 78ed2aa commit 56e9331

File tree

3 files changed

+11
-8
lines changed
  • .github/workflows
  • mithril-aggregator/src/services
  • mithril-test-lab/mithril-end-to-end/src/assertions

3 files changed

+11
-8
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -294,13 +294,16 @@ jobs:
294294
strategy:
295295
fail-fast: false
296296
matrix:
297-
mode: ["std"]
297+
mode: ["master-slave"]
298298
era: ${{ fromJSON(needs.build-ubuntu-X64.outputs.eras) }}
299299
next_era: [""]
300300
cardano_node_version: ["10.1.3", "10.1.4", "10.2.1"]
301301
hard_fork_latest_era_at_epoch: [0]
302-
run_id: ["#1", "#2"]
303-
extra_args: [""]
302+
run_id: ["#1", "#2", "#3", "#4", "#5", "#6", "#7", "#8", "#9", "#10"]
303+
extra_args:
304+
[
305+
"--number-of-aggregators=2 --use-relays --relay-signer-registration-mode=passthrough --relay-signature-registration-mode=p2p",
306+
]
304307

305308
include:
306309
# Include a test for partial decentralization with master/slave signer registration and P2P signature registration
@@ -363,7 +366,7 @@ jobs:
363366
uses: nick-fields/retry@v3
364367
with:
365368
shell: bash
366-
max_attempts: 3
369+
max_attempts: 1
367370
retry_on_exit_code: 2
368371
timeout_minutes: 10
369372
warning_on_retry: true

mithril-aggregator/src/services/upkeep.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ impl UpkeepService for AggregatorUpkeepService {
166166
.await
167167
.with_context(|| "Pruning tasks failed")?;
168168

169-
self.upkeep_all_databases()
170-
.await
171-
.with_context(|| "Database upkeep failed")?;
169+
/* self.upkeep_all_databases()
170+
.await
171+
.with_context(|| "Database upkeep failed")?; */
172172

173173
info!(self.logger, "Upkeep finished");
174174
Ok(())

mithril-test-lab/mithril-end-to-end/src/assertions/exec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub async fn bootstrap_genesis_certificate(aggregator: &Aggregator) -> StdResult
1212
// This should be removed when the aggregator is able to synchronize its certificate chain from another aggregator
1313
if !aggregator.is_first() {
1414
tokio::time::sleep(std::time::Duration::from_millis(
15-
5 * aggregator.mithril_run_interval() as u64,
15+
3 * aggregator.mithril_run_interval() as u64,
1616
))
1717
.await;
1818
}

0 commit comments

Comments
 (0)