• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

payjoin / rust-payjoin / 16728312520
83%

Build:
DEFAULT BRANCH: master
Ran 04 Aug 2025 04:12PM UTC
Jobs 1
Files 51
Run time 440min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Aug 2025 04:09PM UTC coverage: 85.961% (-0.06%) from 86.023%
16728312520

push

github

web-flow
e2e test concurrency fixes (#913)

This PR addresses two race conditions in the e2e tests:

## Free Port Assignment

Each test tried to bind a free port, and then remembered the number
passing it in to the `--port` option of payjoin-cli. There is a brief
window where the port is unbound, allowing the same number to be given
to both tests concurrently.

Instead the payjoin-cli can be given `--port 0`, binding a free port on
its own, and will now use this port when generating a payjoin URI.

## Self Signed Certificate Isolation

The self signed certificate was written to e.g. `/tmp/localhost.der`, so
concurrent `cargo test` runs as well as concurrent tests within a test
run overwrote each others certificate.

This issue was mostly hidden by the redis test container delaying
startup for the v2 test, typically long enough for the v1 test's server
and clients to be be initialized consistently.

84 of 110 new or added lines in 5 files covered. (76.36%)

8021 of 9331 relevant lines covered (85.96%)

502.5 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
94.12
-2.94% payjoin-cli/src/app/mod.rs
1
79.03
-0.97% payjoin-cli/src/app/v2/ohttp.rs
3
76.53
-0.39% payjoin-cli/src/app/v1.rs
5
80.36
-1.22% payjoin-cli/src/app/config.rs
16
81.82
0.04% payjoin-cli/src/app/v2/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 16728312520.1 04 Aug 2025 04:12PM UTC 51
85.96
GitHub Action Run
Source Files on build 16728312520
  • Tree
  • List 51
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16728312520
  • e9ba669c on github
  • Prev Build on ns1r-master-backup (#16726487268)
  • Next Build on master (#16728345287)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc