Skip to content
This repository was archived by the owner on May 27, 2024. It is now read-only.

Tests fail on Apple Mac when building the project from command line #405

@lionel-nj

Description

@lionel-nj

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

Capture d’écran, le 2022-01-19 à 13 59 03

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions