Skip to content

Tests fails: Connection refused #22

@antoniovillavicencio

Description

@antoniovillavicencio

Hi,

When I try to build the Jar with the Demo profile (the one with the connection to AWS RDS) the test fails because of "connection refused". It seems that in order to load the context and pass the tests, it needs to have a connection to a Database. A workaround for me was to annotate the Test class with @ActiveProfiles("default") but I think is not the best solution, because I stiil have to have my local postgres running just for compiling and building the Jar.

I hope you can help me to find a better solution!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions