Skip to content

Commit

Permalink
Merge pull request #1221 from getlipa/test/introduce-int-and-e2e-tests
Browse files Browse the repository at this point in the history
Introduce int and e2e tests
  • Loading branch information
gcomte authored Oct 21, 2024
2 parents 8320f99 + 02cc3b1 commit 2901a53
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ test:
integrationtests: FILE = *
integrationtests: TEST = ''
integrationtests:
cargo test --no-default-features --features mock-deps --workspace --test '$(FILE)' -- --ignored $(TEST)

.PHONY: e2etests
e2etests: FILE = *
e2etests: TEST = ''
e2etests:
cargo test --workspace --test '$(FILE)' -- $(TEST)

.PHONY: testregisternode
Expand Down
2 changes: 1 addition & 1 deletion tests/monitoring_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ fn node_can_start() {
#[file_serial(key, path => "/tmp/3l-int-tests-lock")]
fn lsp_fee_can_be_fetched() {
let sender = TransactingNode::new(NodeType::Sender).unwrap();
sender.node.query_lsp_fee().unwrap();
wait_for!(sender.node.query_lsp_fee().is_ok());
}

#[test]
Expand Down

0 comments on commit 2901a53

Please sign in to comment.