File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed
Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 7272 uses : actions-rs/cargo@v1
7373 with :
7474 command : test
75- args : --test '*' -p yagna -p ya-exe-unit -p ya-transfer -p ya-payment -p ya-identity --features system-test
75+ args : --test '*' -p yagna -p ya-exe-unit -p ya-transfer -p ya-payment -p ya-identity -p ya-provider - -features system-test
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ system-test = [
2121 ' ya-exe-unit/system-test' ,
2222 ' ya-payment/system-test' ,
2323 ' ya-identity/system-test' ,
24+ ' ya-provider/system-test'
2425]
2526# Temporary to make goth integration tests work
2627central-net = [' ya-net/central-net' ]
Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ path = "src/lib.rs"
1212name = " ya-provider"
1313path = " src/main.rs"
1414
15+ [features ]
16+ system-test = []
17+
1518[dependencies ]
1619ya-agreement-utils = { workspace = true }
1720ya-manifest-utils.workspace = true
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ fn create_default_offer(name: &str) -> CreateOffer {
6565 }
6666}
6767
68- // #[cfg_attr(not(feature = "system-test"), ignore)]
68+ #[ cfg_attr( not( feature = "system-test" ) , ignore) ]
6969#[ test_context:: test_context( DroppableTestContext ) ]
7070#[ serial_test:: serial]
7171/// Provider should resubscribe Offer after it expires.
@@ -102,7 +102,7 @@ async fn test_offer_resubscription_after_expiration(
102102 Ok ( ( ) )
103103}
104104
105- // #[cfg_attr(not(feature = "system-test"), ignore)]
105+ #[ cfg_attr( not( feature = "system-test" ) , ignore) ]
106106#[ test_context:: test_context( DroppableTestContext ) ]
107107#[ serial_test:: serial]
108108/// Error when creating offer on GolemBase, should result in retry attempt with exponential backoff.
@@ -166,7 +166,7 @@ async fn test_offer_resubscription_retry_on_creation_error(
166166 Ok ( ( ) )
167167}
168168
169- // #[cfg_attr(not(feature = "system-test"), ignore)]
169+ #[ cfg_attr( not( feature = "system-test" ) , ignore) ]
170170#[ test_context:: test_context( DroppableTestContext ) ]
171171#[ serial_test:: serial]
172172/// When Offer retry is triggered and at the same time the preset change happens, we shouldn't
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ To run all tests including framework tests and unit tests (but without market te
1111` cargo test --workspace --features system-test `
1212
1313To run only framework tests use command:
14- ` cargo test --test '*' -p yagna -p ya-exe-unit -p ya-transfer -p ya-payment -p ya-identity --features system-test `
14+ ` cargo test --test '*' -p yagna -p ya-exe-unit -p ya-transfer -p ya-payment -p ya-identity -p ya-provider - -features system-test `
1515
1616## Creating tests
1717
You can’t perform that action at this time.
0 commit comments