Skip to content

Commit b6b19cd

Browse files
fix: ignored e2e tests
Signed-off-by: venilinvasilev <[email protected]>
1 parent 97dd248 commit b6b19cd

File tree

9 files changed

+2
-13
lines changed

9 files changed

+2
-13
lines changed

tests/e2e/account/info.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ async fn query_cost_small_max_fails() -> anyhow::Result<()> {
122122
}
123123

124124
#[tokio::test]
125-
#[ignore]
126125
async fn get_cost_insufficient_tx_fee_fails() -> anyhow::Result<()> {
127126
let Some(TestEnvironment { config, client }) = setup_nonfree() else {
128127
return Ok(());

tests/e2e/contract/info.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ async fn query_cost_small_max_fails() -> anyhow::Result<()> {
173173
}
174174

175175
#[tokio::test]
176-
#[ignore]
177176
async fn query_cost_insufficient_tx_fee_fails() -> anyhow::Result<()> {
178177
let Some(TestEnvironment { config, client }) = setup_nonfree() else {
179178
return Ok(());

tests/e2e/contract/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ async fn create_contract(
110110
}
111111

112112
let contract_id = tx
113-
.gas(200_000)
113+
.gas(300_000)
114114
.constructor_parameters(
115115
ContractFunctionParameters::new().add_string("Hello from Hedera.").to_bytes(None),
116116
)

tests/e2e/file/contents.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ async fn query_cost_small_max_fails() -> anyhow::Result<()> {
190190
}
191191

192192
#[tokio::test]
193-
#[ignore]
194193
async fn query_insufficient_tx_fee_fails() -> anyhow::Result<()> {
195194
let Some(TestEnvironment { config, client }) = setup_nonfree() else {
196195
return Ok(());

tests/e2e/network_version_info.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ async fn query_cost_small_max_fails() -> anyhow::Result<()> {
8585
}
8686

8787
#[tokio::test]
88-
#[ignore]
8988
async fn get_cost_insufficient_tx_fee_fails() -> anyhow::Result<()> {
9089
let Some(TestEnvironment { config: _, client }) = setup_nonfree() else {
9190
return Ok(());

tests/e2e/schedule/create.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,6 @@ async fn can_sign_schedule() -> anyhow::Result<()> {
358358
}
359359

360360
#[tokio::test]
361-
#[ignore]
362361
async fn schedule_ahead_one_year_fail() -> anyhow::Result<()> {
363362
let Some(TestEnvironment { config, client }) = setup_nonfree() else {
364363
return Ok(());
@@ -396,7 +395,6 @@ async fn schedule_ahead_one_year_fail() -> anyhow::Result<()> {
396395
}
397396

398397
#[tokio::test]
399-
#[ignore]
400398
async fn schedule_in_the_past_fail() -> anyhow::Result<()> {
401399
let Some(TestEnvironment { config, client }) = setup_nonfree() else {
402400
return Ok(());
@@ -434,7 +432,6 @@ async fn schedule_in_the_past_fail() -> anyhow::Result<()> {
434432
}
435433

436434
#[tokio::test]
437-
#[ignore]
438435
async fn sign_schedule_and_wait_for_expiry() -> anyhow::Result<()> {
439436
let Some(TestEnvironment { config, client }) = setup_nonfree() else {
440437
return Ok(());
@@ -701,7 +698,6 @@ async fn sign_with_multi_sig() -> anyhow::Result<()> {
701698
}
702699

703700
#[tokio::test]
704-
#[ignore]
705701
async fn execute_with_short_exp_time() -> anyhow::Result<()> {
706702
let Some(TestEnvironment { config, client }) = setup_nonfree() else {
707703
return Ok(());
@@ -760,7 +756,7 @@ async fn execute_with_short_exp_time() -> anyhow::Result<()> {
760756
let new_balance = AccountBalanceQuery::new().account_id(account.id).execute(&client).await?;
761757

762758
// Verify the schedule is executed after 10 seconds
763-
assert_eq!(initial_balance.hbars, new_balance.hbars + Hbar::new(1));
759+
assert_eq!(new_balance.hbars, initial_balance.hbars - Hbar::new(1));
764760

765761
Ok(())
766762
}

tests/e2e/schedule/info.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ async fn query_cost_small_max_fails() -> anyhow::Result<()> {
223223
}
224224

225225
#[tokio::test]
226-
#[ignore]
227226
async fn query_cost_insufficient_tx_fee_fails() -> anyhow::Result<()> {
228227
let Some(TestEnvironment { config, client }) = setup_nonfree() else {
229228
return Ok(());

tests/e2e/token/info.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ async fn query_cost_small_max_fails() -> anyhow::Result<()> {
271271
}
272272

273273
#[tokio::test]
274-
#[ignore]
275274
async fn query_cost_insufficient_tx_fee_fails() -> anyhow::Result<()> {
276275
let Some(TestEnvironment { config: _, client }) = setup_nonfree() else {
277276
return Ok(());

tests/e2e/topic/info.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ async fn query_cost_small_max() -> anyhow::Result<()> {
106106
}
107107

108108
#[tokio::test]
109-
#[ignore]
110109
async fn query_cost_insufficient_tx_fee() -> anyhow::Result<()> {
111110
let Some(TestEnvironment { config: _, client }) = setup_nonfree() else {
112111
return Ok(());

0 commit comments

Comments
 (0)