Skip to content

Commit

Permalink
fix: readd serial tests
Browse files Browse the repository at this point in the history
Signed-off-by: Freyskeyd <[email protected]>
  • Loading branch information
Freyskeyd committed Jan 18, 2023
1 parent c314e42 commit e9a11b4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 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 crates/topos-sequencer-subnet-runtime-proxy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ fs_extra = "1.2"
rstest.workspace = true
secp256k1 = { version = "0.21", features = ["recovery"]}
serde_json.workspace = true
serial_test = "0.9"
tiny-keccak = "1.2"
web3.workspace = true
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use dockertest::{
use fs_extra::dir::{copy, create_all, CopyOptions};
use rstest::*;
use secp256k1::SecretKey;
use serial_test::serial;
use std::env;
use std::path::PathBuf;
use std::str::FromStr;
Expand Down Expand Up @@ -409,6 +410,7 @@ async fn context_running_subnet_node(#[default(8545)] port: u32) -> Context {
/// Test to start subnet and deploy subnet smart contract
#[rstest]
#[tokio::test]
#[serial]
async fn test_subnet_node_contract_deployment(
#[with(8544)]
#[future]
Expand All @@ -424,6 +426,7 @@ async fn test_subnet_node_contract_deployment(
/// Test subnet client RPC connection to subnet
#[rstest]
#[tokio::test]
#[serial]
async fn test_subnet_node_get_block_info(
#[with(8545)]
#[future]
Expand Down Expand Up @@ -473,6 +476,7 @@ async fn test_subnet_node_get_block_info(
/// Test runtime initialization
#[rstest]
#[tokio::test]
#[serial]
async fn test_create_runtime() -> Result<(), Box<dyn std::error::Error>> {
let keystore_file_path = generate_test_keystore_file()?;
println!("Creating runtime proxy...");
Expand All @@ -493,6 +497,7 @@ async fn test_create_runtime() -> Result<(), Box<dyn std::error::Error>> {
/// Test mint call
#[rstest]
#[tokio::test]
#[serial]
async fn test_subnet_certificate_push_call(
#[with(8546)]
#[future]
Expand Down

0 comments on commit e9a11b4

Please sign in to comment.