Encountering issue while trying to run test cases and throwing error while running this command psql -U openadr -W openadr -h localhost openadr < fixtures/test_user_credentials.sql #158
Replies: 3 comments 7 replies
-
|
It seems that you are running on a Windows PowerShell. I'm not too familiar with Windows, but apparently the command from the README does not work there literally. In the end, you have to make sure you set up a database that is reachable for the VTN and has the initial schema applied. Additionally, it's nice to run the commands from I hope that get's you a step further! |
Beta Was this translation helpful? Give feedback.
-
|
Plz guide regarding test cases how to execute
…On Mon, 17 Feb, 2025, 8:50 pm Maximilian Pohl, ***@***.***> wrote:
Yes, the responses to the / and /health routes indicate that the VTN is
running
—
Reply to this email directly, view it on GitHub
<#158 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A7RJJPKRBFOVRABBM5ZWCJD2QH437AVCNFSM6AAAAABXD623EKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMRSGYYTKMY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
@abhishek-ceremobility wrote in #162
Dear @abhishek-ceremobility, First of all, please do not constantly open new issues and discussions. If you encounter further problems of the same kind, please keep reusing this discussion thread. To keep the number of possible misconfigurations minimal, I suggest that you do not modify the |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to run the testcases but not able to run the test cases successfully.
docker compose up db -d # start up a Postgres DB in the background
cargo sqlx migrate run # apply the DB scheme
Encountering issue while trying to run test cases and throwing error while running this psql
psql -U openadr -W openadr -h localhost openadr < fixtures/test_user_credentials.sql
cargo test --workspace # execute the tests
problem while runnig his psql -U openadr -W openadr -h localhost openadr < fixtures/test_user_credentials.sql
PS C:\Users\ABHI\OneDrive\Desktop\Openadr\openleadr-rs> psql -U openadr -W openadr -h localhost openadr fixtures/test_user_credentials.sql
psql: warning: extra command-line argument "openadr" ignored
psql: warning: extra command-line argument "fixtures/test_user_credentials.sql" ignored
Password:
psql: error: connection to server at "localhost" (::1), port 5432 failed: FATAL: password authentication failed for user "openadr"
PS C:\Users\ABHI\OneDrive\Desktop\Openadr\openleadr-rs>
Beta Was this translation helpful? Give feedback.
All reactions