Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

gemonlinedb tests fail with a missing file #322

Closed
1 of 2 tasks
lpetre-ulb opened this issue Mar 17, 2020 · 2 comments · Fixed by #323
Closed
1 of 2 tasks

gemonlinedb tests fail with a missing file #322

lpetre-ulb opened this issue Mar 17, 2020 · 2 comments · Fixed by #323
Assignees

Comments

@lpetre-ulb
Copy link
Contributor

Brief summary of issue

One gemonlinedb test case fails with the error reported hereunder.

Types of issue

  • Bug report (report an issue with the code)
  • Feature request (request for change which adds functionality)

Expected Behavior

All tests should pass.

Current Behavior

gemonlinedb tests fail with the following error:

$ make run-tests
[...]
Testing: test/testFileConfigurationProvider.exe
Running 6 test cases...
unknown location(0): fatal error in "LoadNonCompliant": std::runtime_error: File not found in path: No such file or directory: "xml/tests/NonCompliantFile.json", "."
test/testFileConfigurationProvider.cc(84): last checkpoint

*** 1 failure detected in test suite "TestFileConfigurationProvider"
[...]

Notice that echo $? returns 0, as if no error occurred.

Steps to Reproduce (for bugs)

  1. Fetch the HEAD of develop
  2. Build the libraries make
  3. Build and launch the tests make run-tests
  4. Look at the result

Possible Solution (for bugs)

Replace the current XML test file with the expected JSON test file.

Context

Launching tests after some modifications.

Your Environment

  • Version used: branch develop/74641ce
@lmoureaux
Copy link

I'm working on a PR. In the meantime the test should pass if you touch gemonlinedb/xml/tests/NonCompliantFile.json.

@lmoureaux
Copy link

Thank you for running the tests and reporting failures! 😍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants