Skip to content

Commit a9f5cfc

Browse files
committed
serial tests
1 parent 9fef120 commit a9f5cfc

File tree

3 files changed

+42
-1
lines changed

3 files changed

+42
-1
lines changed

wormhole_attester/Cargo.lock

Lines changed: 38 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wormhole_attester/client/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,4 @@ http = "0.2.8"
4545
[dev-dependencies]
4646
solana-program-test = "=1.10.31"
4747
solana-sdk = "=1.10.31"
48+
serial_test = "1.0.0"

wormhole_attester/client/tests/test_migrate.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ use {
1212
Pyth2WormholeConfig,
1313
},
1414
pyth_wormhole_attester_client as p2wc,
15+
serial_test::serial,
1516
solana_program::system_program,
1617
solana_program_test::*,
1718
solana_sdk::{
@@ -29,6 +30,7 @@ use {
2930
};
3031

3132
#[tokio::test]
33+
#[serial]
3234
async fn test_migrate_works() -> Result<(), solitaire::ErrBox> {
3335
info!("Starting");
3436
// Programs
@@ -91,6 +93,7 @@ async fn test_migrate_works() -> Result<(), solitaire::ErrBox> {
9193
}
9294

9395
#[tokio::test]
96+
#[serial]
9497
async fn test_migrate_already_migrated() -> Result<(), solitaire::ErrBox> {
9598
info!("Starting");
9699
// Programs

0 commit comments

Comments
 (0)