This repository has been archived by the owner on May 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Tests fail on Apple Mac when building the project from command line #405
Labels
Comments
Looks like these are related to Hibernate and database access for the web app during the test:
|
barbeau
changed the title
Failure in test sets when building the project from command line
Tests fail on Apple Mac when building the project from command line
Jan 20, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Summary:
Test sets fail when building the project from command line - which prevents the project from building.
Steps to reproduce:
After applying the fix suggested in #404, run
mvn package
at the root of the project.Expected behavior:
Tests pass and project builds. An executable jar should be generated in
target
.Observed behavior:
Failure in tests that prevent the project from building (see test reports.zip)
edu.usf.cutr.gtfsrtvalidator.api.resource.GtfsFeedTest
edu.usf.cutr.gtfsrtvalidator.test.queries.QueryTest
Interestingly, those test sets are successfully executed in IntelliJ.
"This might have something to do with the HSQLDB drivers on Mac, because those tests test queries against a HSQLDB instance using the JDBC drivers."
"I guess maybe IntelliJ is including something on the classpath that you're missing on command-line? Maybe the JDBC drivers?"
(from @barbeau).
Platform:
Mac M1
MacOS Big Sur 11.6 version
Java 11.0.11
The text was updated successfully, but these errors were encountered: