-
Notifications
You must be signed in to change notification settings - Fork 9
fix in PC parser #606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
fix in PC parser #606
Conversation
| if [[ "01234567" == *"${JOBID}"* ]]; then export PDI_PLUGIN_PATH=/tmp/pdi_plugins; fi | ||
| export MAKEFLAGS='-j 4' | ||
| export CTEST_FLAGS="--output-junit /tmp/tests.xml" | ||
| export TEST_DIR="/tmp_dir_test" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is related to the CI, which breaks regularly.
Does this need a dedicated PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not necessarily for me, but is this directory always available. Shouldn't you then mount a tmpdir to ensure it's available?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not necessarily for me, but is this directory always available. Shouldn't you then mount a tmpdir to ensure it's available?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would not include this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This TEST_DIR is necessary for another ongoing PR, which includes a fix.
#543 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK. We will wait for the no-pdi PR first.
Anyway, if I exclude this change, the CI will not run, thus the PR can not be approved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, what's the status, should this change remain in this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change will be overwritten by the no-pdi PR, where we use export CTEST_DIR="/tmp", so this change does not have to remain in this PR.
jbigot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch!
| if [[ "01234567" == *"${JOBID}"* ]]; then export PDI_PLUGIN_PATH=/tmp/pdi_plugins; fi | ||
| export MAKEFLAGS='-j 4' | ||
| export CTEST_FLAGS="--output-junit /tmp/tests.xml" | ||
| export TEST_DIR="/tmp_dir_test" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not necessarily for me, but is this directory always available. Shouldn't you then mount a tmpdir to ensure it's available?
|
can we make a test that would catch this bug? |
I can try! |
jbigot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but the test logic is slightly above my level of understanding. I would love for you to guide me through it, and mybe add a few comments, so that we're not lost the next time we need to touch this.
| if [[ "01234567" == *"${JOBID}"* ]]; then export PDI_PLUGIN_PATH=/tmp/pdi_plugins; fi | ||
| export MAKEFLAGS='-j 4' | ||
| export CTEST_FLAGS="--output-junit /tmp/tests.xml" | ||
| export TEST_DIR="/tmp_dir_test" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, what's the status, should this change remain in this PR?
Co-authored-by: Julien Bigot <[email protected]>
jbigot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you checked that the current writing of the test does indeed catch the bug if you don't fix the code?
|
BTW, this is a bugfix and should be mentioned in the Changelog |
code cleaning.
Yes, it does. |
While doing other stuff, I noticed this "typo".
However, it doesn't result in any errors.
I don't think it's worth filling in the checks below.
Only the copyright date is updated.
List of things to check before making a PR
Before merging your code, please check the following:
.clang-format;Fix #issuekeyword to autoclose the issue when merged.