noisepage icon indicating copy to clipboard operation
noisepage copied to clipboard

JUnit Integration Tests Log Errors for Comments

Open turingcompl33t opened this issue 3 years ago • 0 comments

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.

turingcompl33t avatar May 27 '21 13:05 turingcompl33t