Architecture #2605
closed
rudder-techniques check script should detect illegal log level "log_error"
Added by Jonathan CLARKE over 12 years ago.
Updated over 9 years ago.
Description
Sometimes in Techniques it's tempting to use log level "log_error", when we should be using "result_error".
This should be detected and cause our test script to fail.
- Status changed from In progress to Pending technical review
- % Done changed from 0 to 100
Applied in changeset commit:a0b1c4c889da1646103f388c2f311b5acc8230a8.
Seems OK but I think that it would be better if 'echo' could be located in function 'on_exit()' like the others
- Tracker changed from User story to Architecture
- Status changed from Pending technical review to Released
Nicolas PERRON wrote:
Seems OK but I think that it would be better if 'echo' could be located in function 'on_exit()' like the others
Ah yes, about that. I deliberately changed style because I didn't understand why checks and their associated error messages were defined in seperate places. Could you fix the script the other way, to reassociate messages with their checks in "nearby" lines?
- Project changed from Rudder to 34
- Category deleted (
11)
- Project changed from 34 to Rudder
- Category set to Packaging
Also available in: Atom
PDF