Skip to content

Test together - #207

Merged
DanGould merged 6 commits into
payjoin:masterfrom
DanGould:test-together
Mar 13, 2024
Merged

Test together#207
DanGould merged 6 commits into
payjoin:masterfrom
DanGould:test-together

Conversation

@DanGould

Copy link
Copy Markdown
Member

Use the payjoin-directory lib in tests so that they can be run in parallel. This makes them much easier to reason about.

@DanGould
DanGould force-pushed the test-together branch 3 times, most recently from adaca03 to 7bc20e4 Compare March 11, 2024 17:51
@DanGould
DanGould force-pushed the test-together branch 2 times, most recently from 70db7a1 to dd517f2 Compare March 13, 2024 00:29
This lets us remove the separate binary compilation requirement.

Ports are also dynamically allocated so we can eventually test in
parallel. However, right now a common `localhost.der` file is used
to store a shared certificate which conflicts on parallel execution.
Try reading localhost certs and key from storage before generating
new ones.
@DanGould

Copy link
Copy Markdown
Member Author

This lets us finally run integration tests reliably in parallel. Should make writing #145 a small chore rather than a lift. This PR only changes tests, and I'm confident in my self-review which will be further reviewed in #160. Since it only touches tests I'm going to merge it before an independent review lands but still welcome reviews.

@DanGould
DanGould merged commit 17ed6d4 into payjoin:master Mar 13, 2024
@DanGould
DanGould deleted the test-together branch March 13, 2024 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant