Skip to content

Commit a096175

Browse files
committed
fix: e2e test
1 parent 1adbbe5 commit a096175

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.env.e2e

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ MADARA_ORCHESTRATOR_MADARA_VERSION=0.14.0
1818

1919

2020
#### BATCHING ####
21-
MADARA_ORCHESTRATOR_MAX_BATCH_TIME_SECONDS=30
21+
MADARA_ORCHESTRATOR_MAX_BATCH_TIME_SECONDS=90
2222
MADARA_ORCHESTRATOR_MAX_BATCH_SIZE=40
2323
MADARA_ORCHESTRATOR_BATCHING_LOCK_DURATION_SECONDS=3600
24-
MADARA_ORCHESTRATOR_MAX_BLOCKS_PER_SNOS_BATCH=2 # Need to add this since Pathfinder doesn't store builtin weights
24+
MADARA_ORCHESTRATOR_MAX_BLOCKS_PER_SNOS_BATCH=10 # Need to add this since Pathfinder doesn't store builtin weights
2525

2626
## ATLANTIC ##
2727

orchestrator/src/worker/event_handler/triggers/snos.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use crate::core::config::Config;
2-
use crate::types::batch::{SnosBatchStatus, SnosBatchUpdates};
2+
use crate::types::batch::SnosBatchStatus;
33
use crate::types::constant::{
44
CAIRO_PIE_FILE_NAME, ON_CHAIN_DATA_FILE_NAME, PROGRAM_OUTPUT_FILE_NAME, SNOS_OUTPUT_FILE_NAME,
55
};
@@ -67,9 +67,7 @@ impl JobTrigger for SnosJobTrigger {
6767
)
6868
.await
6969
{
70-
Ok(_) => {
71-
config.database().update_or_create_snos_batch(&snos_batch, &SnosBatchUpdates {end_block: None, status: Some(SnosBatchStatus::SnosJobCreated)}).await?;
72-
},
70+
Ok(_) => {}
7371
Err(e) => {
7472
error!(error = %e,"Failed to create new {:?} job for {}", JobType::SnosRun, snos_batch.snos_batch_id);
7573
let attributes = [

0 commit comments

Comments
 (0)