@@ -59,7 +59,7 @@ async fn assert_escrow_creation(
5959 assert_eq ! ( account_state. base. amount, 0 . into( ) ) ;
6060}
6161
62- #[ tokio:: test]
62+ #[ tokio:: test( flavor = "multi_thread" ) ]
6363#[ serial]
6464async fn test_create_ata_escrow_account_for_spl_token_mint ( ) {
6565 let env = setup_test_env ( ) . await ;
@@ -99,7 +99,7 @@ async fn test_create_ata_escrow_account_for_spl_token_mint() {
9999 . await ;
100100}
101101
102- #[ tokio:: test]
102+ #[ tokio:: test( flavor = "multi_thread" ) ]
103103#[ serial]
104104async fn test_create_ata_escrow_account_for_token2022_mint ( ) {
105105 let env = setup_test_env ( ) . await ;
@@ -139,7 +139,7 @@ async fn test_create_ata_escrow_account_for_token2022_mint() {
139139 . await ;
140140}
141141
142- #[ tokio:: test]
142+ #[ tokio:: test( flavor = "multi_thread" ) ]
143143#[ serial]
144144async fn test_create_escrow_account_with_signer ( ) {
145145 let env = setup_test_env ( ) . await ;
@@ -192,7 +192,7 @@ async fn test_create_escrow_account_with_signer() {
192192 . await ;
193193}
194194
195- #[ tokio:: test]
195+ #[ tokio:: test( flavor = "multi_thread" ) ]
196196#[ serial]
197197async fn test_create_escrow_account_signer_idempotent ( ) {
198198 let env = setup_test_env ( ) . await ;
@@ -241,7 +241,7 @@ async fn test_create_escrow_account_signer_idempotent() {
241241 . contains( format!( "Escrow account {} already exists" , derived_escrow_address) . as_str( ) ) ) ;
242242}
243243
244- #[ tokio:: test]
244+ #[ tokio:: test( flavor = "multi_thread" ) ]
245245#[ serial]
246246async fn test_create_escrow_account_ata_idempotent ( ) {
247247 let env = setup_test_env ( ) . await ;
@@ -284,7 +284,7 @@ async fn test_create_escrow_account_ata_idempotent() {
284284 assert ! ( stderr_c. contains( "already exists" ) ) ;
285285}
286286
287- #[ tokio:: test]
287+ #[ tokio:: test( flavor = "multi_thread" ) ]
288288#[ serial]
289289async fn test_create_escrow_account_with_wrong_mint_owner ( ) {
290290 let env = setup_test_env ( ) . await ;
@@ -310,7 +310,7 @@ async fn test_create_escrow_account_with_wrong_mint_owner() {
310310 assert ! ( stderr. contains( "is not owned by a token program" ) ) ;
311311}
312312
313- #[ tokio:: test]
313+ #[ tokio:: test( flavor = "multi_thread" ) ]
314314#[ serial]
315315async fn test_create_escrow_account_with_wrong_account_type ( ) {
316316 let env = setup_test_env ( ) . await ;
0 commit comments