-
Notifications
You must be signed in to change notification settings - Fork 56
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
Log httpd log_error to stderr #73
Conversation
LGTM |
@@ -185,6 +205,8 @@ test_application() { | |||
# must return (or terminate with) non-zero value to report an failure, | |||
# 0 otherwise. | |||
# Third argument is s2i --env argument value. | |||
# The test function have available container ID in $cid_file, container output | |||
# in ${tmp_dir}/out, countainer stderr in ${tmp_dir}/err. |
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.
Minor nit: s/countainer/container
Well, too late, but worth asking: could we get the tests for both image versions? (5.16 is missing) |
On Wed, Mar 02, 2016 at 02:51:41PM -0800, Rodolfo Carvalho wrote:
Actually the tests should be rewritten to something more suitable for testing -- Petr |
I totally agree 👍 The tests in this repository are OpenShift-agnostic, they require just However, we need to take a more holistic view when talking about a change like rewriting. Through the past year, when working on the builder images and trying to improve the tests, I was reminded to keep the consistency among the images we provide, which is good in one hand, but hard to maintain over time. And as you just pointed out, Perl tests for 5.16 and 5.20 went out of sync... (and there is really another problem in there, copy-paste...) IMHO Bash is great for short scripts, but is a very poor tool for writing the day-after-day more complex scripts that empower the images, and very poor for writing tests. Even though Perl's Test::More is very cool, I doubt we have enough Perl know-how across the team to make it the "new language" for the scripts in all images. Given what's in the base OS image, I'd say our choices are Bash, Perl, Python. |
@rhcarvalho the tests also depend on |
@rhcarvalho also as you said, few of us have confidence in perl or python or ruby to start writing tests for images. We do all do Go, but that leaves SCL folks out of loop because that is something they don't do. So even it sound silly, the "bash" is the only common framework we share currently :-) And I'm OK improving it or making the testing framework better. |
This patch set fixes issue #72.