Skip to content

Commit e19eb66

Browse files
committed
Fixed little misateke in pipeline
Signed-off-by: artem.ivanov <[email protected]>
1 parent cdb9cb1 commit e19eb66

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Jenkinsfile.ci

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def linuxTesting(file, env_name, network_name) {
255255
}
256256
}
257257
},
258-
"${env_name}-libindy-test": {
258+
"${env_name}-libnullpay-test": {
259259
dir('libnullpay') {
260260
testEnv.inside("--network=${network_name}") {
261261
echo "${env_name} Libnullpay Test: Test"
@@ -264,7 +264,7 @@ def linuxTesting(file, env_name, network_name) {
264264
sh "LIBRARY_PATH=./ RUST_BACKTRACE=1 cargo test --no-run"
265265

266266
echo "${env_name} Libnullpay Test: Run tests"
267-
sh "LD_LIBRARY_PATH=./ RUST_BACKTRACE=1 RUST_LOG=indy::=debug,zmq=trace RUST_TEST_THREADS=1 TEST_POOL_IP=10.0.0.2 cargo test"
267+
sh "LD_LIBRARY_PATH=./:${LD_LIBRARY_PATH} RUST_BACKTRACE=1 RUST_LOG=indy::=debug,zmq=trace RUST_TEST_THREADS=1 TEST_POOL_IP=10.0.0.2 cargo test"
268268
}
269269
}
270270
},

cli/src/commands/ledger.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2327,6 +2327,7 @@ pub mod tests {
23272327
use super::*;
23282328

23292329
#[test]
2330+
#[ignore]
23302331
pub fn pool_restart_works() {
23312332
TestUtils::cleanup_storage();
23322333
let datetime = r#"2020-01-25T12:49:05.258870+00:00"#;
@@ -3147,17 +3148,17 @@ pub mod tests {
31473148
TestUtils::cleanup_storage();
31483149
let ctx = CommandContext::new();
31493150

3151+
create_and_connect_pool(&ctx);
31503152
create_and_open_wallet(&ctx);
31513153
load_null_payment_plugin(&ctx);
31523154

3153-
create_and_connect_pool(&ctx);
3154-
load_null_payment_plugin(&ctx);
31553155
{
31563156
let cmd = get_fees_command::new();
31573157
let mut params = CommandParams::new();
31583158
params.insert("payment_method", NULL_PAYMENT_METHOD.to_string());
31593159
cmd.execute(&ctx, &params).unwrap_err();
31603160
}
3161+
close_and_delete_wallet(&ctx);
31613162
disconnect_and_delete_pool(&ctx);
31623163
TestUtils::cleanup_storage();
31633164
}

0 commit comments

Comments
 (0)