Skip to content

Commit

Permalink
Add serial to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gianbelinche committed Nov 7, 2024
1 parent 7b8d4f5 commit 7b514e7
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 2 deletions.
41 changes: 41 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions core/node/da_clients/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,4 @@ ethabi = "16.0.0"
rust-kzg-bn254 = {git = "https://github.com/lambdaclass/rust-kzg-bn254", branch = "bump-ark"}
ark-bn254 = "0.5.0-alpha.0"
num-bigint = "0.4.6"
serial_test = "3.1.1"
8 changes: 6 additions & 2 deletions core/node/da_clients/src/eigen/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,10 @@ mod tests {

use super::*;
use crate::eigen::blob_info::BlobInfo;
use serial_test::serial;

#[tokio::test]
#[serial]
async fn test_non_auth_dispersal() {
let config = EigenConfig::Disperser(DisperserConfig {
disperser_rpc: "https://disperser-holesky.eigenda.xyz:443".to_string(),
Expand Down Expand Up @@ -150,6 +152,7 @@ mod tests {
}

#[tokio::test]
#[serial]
async fn test_auth_dispersal() {
let config = EigenConfig::Disperser(DisperserConfig {
disperser_rpc: "https://disperser-holesky.eigenda.xyz:443".to_string(),
Expand Down Expand Up @@ -220,6 +223,7 @@ mod tests {
assert_eq!(retrieved_data.unwrap(), data);
}
#[tokio::test]
#[serial]
async fn test_wait_for_finalization() {
let config = EigenConfig::Disperser(DisperserConfig {
disperser_rpc: "https://disperser-holesky.eigenda.xyz:443".to_string(),
Expand Down Expand Up @@ -284,9 +288,9 @@ mod tests {
}

#[tokio::test]
#[serial]
async fn test_eth_confirmation_depth() {
let config = EigenConfig::Disperser(DisperserConfig {
custom_quorum_numbers: None,
disperser_rpc: "https://disperser-holesky.eigenda.xyz:443".to_string(),
eth_confirmation_depth: 5,
eigenda_eth_rpc: "https://ethereum-holesky-rpc.publicnode.com".to_string(),
Expand Down Expand Up @@ -323,9 +327,9 @@ mod tests {
}

#[tokio::test]
#[serial]
async fn test_auth_dispersal_eth_confirmation_depth() {
let config = EigenConfig::Disperser(DisperserConfig {
custom_quorum_numbers: None,
disperser_rpc: "https://disperser-holesky.eigenda.xyz:443".to_string(),
eth_confirmation_depth: 5,
eigenda_eth_rpc: "https://ethereum-holesky-rpc.publicnode.com".to_string(),
Expand Down

0 comments on commit 7b514e7

Please sign in to comment.