Closed tiwillia closed 8 years ago
[test]
@thrasher-redhat can you review please?
LGTM
re-[test] please.
@thrasher-redhat can you give this one more quick look? Made a small change so that the default '50' would work.
LGTM. Default 50 sounds solid.
openshift-bot, please [merge]!
Online Merge Results: SUCCESS (https://ci.dev.openshift.redhat.com/jenkins/job/test_pull_requests/9341/) (Image: devenv_5806)
Using config.get('VALUE', default)
, tests seem to be unable to determine the default value. I can confirm that in actual use, the default is properly established when 'VALUE'
does not exist. However the default is not established in tests.
@Miciah, I've modified the line to match what other application_container_ext modules are doing, like so:
user_variable_max_count = (config.get('USER_VARIABLE_MAX_COUNT') || "50" ).to_i
This works in tests and in the real world.
re-[test] please
Evaluated for online merge up to a4bee2ecfe84a166dac4a9f922dff99f973bb0f3
Evaluated for online test up to a4bee2ecfe84a166dac4a9f922dff99f973bb0f3
Online Test Results: SUCCESS (https://ci.dev.openshift.redhat.com/jenkins/job/test_pull_requests/9342/)
Bug 1266239 https://bugzilla.redhat.com/show_bug.cgi?id=1266239
Adds the
USER_VARIABLE_MAX_COUNT
option to the node configuration file. This option controls the maximum number of user environment variables allowed on the node.