-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test.Utils.Paths: Fix the test data directory for Windows and Nix #1109
Conversation
When running tests under either Windows or Nix, we want the test data directory to be relative to the current directory, rather than an absolute path.
@piotr-iohk are you able to execute the windows test on this one: https://hydra.iohk.io/build/1441738 ? |
Yes, I don't see issues with the paths any longer, the tests are running. 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems this fixes path issue, however there are still 21 integration tests failing, also it seems that jormungandr is not killed after the tests are finished. I think it'd be better to tackle this in separate task.
bors r+ |
1109: Test.Utils.Paths: Fix the test data directory for Windows and Nix r=rvl a=rvl # Issue Number #703 # Overview When running tests under either Windows or Nix, we want the test data directory to be relative to the current directory, rather than an absolute path. # Comments Tests pass on Windows: - [x] `cardano-wallet-core-2019.11.18-test-unit.exe` - [x] `cardano-wallet-jormungandr-2019.11.18-test-unit.exe` - [ ] `cardano-wallet-jormungandr-2019.11.18-test-integration.exe` (_running_) - [x] `cardano-wallet-launcher-2019.11.18-test-unit.exe` - [x] `cardano-wallet-cli-2019.11.18-test-unit.exe` - [x] `bech32-2019.11.18-bech32-test.exe` - [x] `text-class-2019.11.18-test-unit.exe` Co-authored-by: Rodney Lorrimar <[email protected]>
Timed out |
bors r+ |
1109: Test.Utils.Paths: Fix the test data directory for Windows and Nix r=KtorZ a=rvl # Issue Number #703 # Overview When running tests under either Windows or Nix, we want the test data directory to be relative to the current directory, rather than an absolute path. # Comments Tests pass on Windows: - [x] `cardano-wallet-core-2019.11.18-test-unit.exe` - [x] `cardano-wallet-jormungandr-2019.11.18-test-unit.exe` - [ ] `cardano-wallet-jormungandr-2019.11.18-test-integration.exe` (_running_) - [x] `cardano-wallet-launcher-2019.11.18-test-unit.exe` - [x] `cardano-wallet-cli-2019.11.18-test-unit.exe` - [x] `bech32-2019.11.18-bech32-test.exe` - [x] `text-class-2019.11.18-test-unit.exe` Co-authored-by: Rodney Lorrimar <[email protected]>
Build succeeded |
Issue Number
#703
Overview
When running tests under either Windows or Nix, we want the test data directory to be relative to the current directory, rather than an absolute path.
Comments
Tests pass on Windows:
cardano-wallet-core-2019.11.18-test-unit.exe
cardano-wallet-jormungandr-2019.11.18-test-unit.exe
cardano-wallet-jormungandr-2019.11.18-test-integration.exe
(running)cardano-wallet-launcher-2019.11.18-test-unit.exe
cardano-wallet-cli-2019.11.18-test-unit.exe
bech32-2019.11.18-bech32-test.exe
text-class-2019.11.18-test-unit.exe