Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

JUnit Integration Tests Log Errors for Comments #1597

Open
turingcompl33t opened this issue May 27, 2021 · 0 comments
Open

JUnit Integration Tests Log Errors for Comments #1597

turingcompl33t opened this issue May 27, 2021 · 0 comments

Comments

@turingcompl33t
Copy link
Contributor

We support the inclusion of comments in the SQL files used to generate our tracefile tests, denoted by #. Executing the GenerateTrace.java utility to produce a tracefile from the SQL file logs an error to the console when it encounters a comment (by virtue of the fact that it attempts to execute it as SQL). This doesn't prevent the correct operation of the program, it is merely misleading and needlessly noisy.

We should just check for the leading # ourselves and avoid executing these lines altogether.

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

No branches or pull requests

1 participant