Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-04-22 | More rubocop fixups. | Steve Kemp | |
These are again mostly based around whitespace-changes. | |||
2015-12-18 | Removed references and support for beanstalkd. | Steve Kemp | |
The beanstalkd queue used to be used in the past, and we later added support for Redis via a simple abstraction layer. But now we've no longer tested and used beanstalkd for over a year, and the client-libraries are no longer available as native Debian packages. With that in mind we've excised the code, although left the abstraction-class in-place. | |||
2015-11-16 | Ensure we strip leading/trailing space from alerts. | Steve Kemp | |
This allows our configuration file `/etc/custodian/custodian.cfg` to contain something like this, without errors; alerter = file , redis | |||
2015-04-30 | If a test is skipped we don't need to sleep. | Steve Kemp | |
If a test fails then we sleep for a small amount of time, two seconds by default, before repeating it. This delay is not required for tests that explicitly disable themselves. | |||
2015-04-28 | Revert the last commit - syslog gives us timestamps | Steve Kemp | |
2015-04-28 | Show the date/time as well as logged messages. | Steve Kemp | |
2015-04-28 | Removed temporary debugging puts | Steve Kemp | |
2015-04-24 | Use the expanded version of our return-codes. | Steve Kemp | |
Rather than showing "2, 4, etc" we use the expansion routine to show TEST_FAILED, TEST_PASSED, etc. This reads more neatly. | |||
2015-04-16 | Work with the new return-type from tests. | Steve Kemp | |
Now tests will no longe return "true" or "false", instead they will return "TEST_FAILED" or "TEST_PASSED". There is a third return-value of "TEST_SKIPPED" which essentially ignores a test. | |||
2015-03-10 | Log the failure-reason on the temporary-fails. | Steve Kemp | |
2015-03-09 | Removed trailing whitespace from the code | Steve Kemp | |
2015-03-09 | Remove spaces inside blocks. | Steve Kemp | |
2015-03-09 | Whitespace fixups. | Steve Kemp | |
These were all identified and suggested by rubocop. | |||
2015-03-09 | Removed spaces inside parenthesis. | Steve Kemp | |
2015-03-09 | Prefer single-quotes when you don't need interpolation. | Steve Kemp | |
So "foo" is less good than 'foo'. | |||
2015-03-09 | Avoid redudent returns. | Steve Kemp | |
The last expression of a method is the return value. So: def foo; false ; end Is the same as: def foo; return false; end | |||
2015-03-09 | Don't use parenthesis aroudn conditions in an if. | Steve Kemp | |
2015-03-09 | Do not use parentheses for method calls with no arguments. | Steve Kemp | |
This is neater. Flagged by rubocop | |||
2015-03-09 | Avoid redundent ".to_s" methods. | Steve Kemp | |
These are not required if the argument is string already, or has a _to_s method which will be automatically invoked by magic. | |||
2015-03-04 | Updated comments and code-order. No functional change. | Steve Kemp | |
2015-03-04 | Don't use a logger. | Steve Kemp | |
Instead we run quietly if nothing was output, and run verbosely if we see "--verbose". | |||
2015-02-18 | Updated comments for better accuracy. | Steve Kemp | |
2015-02-18 | Removed diagnostic printing. | Steve Kemp | |
2015-02-17 | Now we work with multiple implementations. | Steve Kemp | |
2015-02-17 | Changed the way that we process a single job. | Steve Kemp | |
We now work on the assumption that a single "job", pulled from the queue, might contain multiple "test" objects. These are the instances of the protocol-testers which we actually execute. This is part of #9558. | |||
2015-02-05 | More simplification - don't pass state around. | Steve Kemp | |
Rather than passing our settings-object around, as well as specific settings that are read from it, just pass the object. The worker can read the settings directly if/when it needs to. | |||
2015-01-21 | Read the queue-type from the settings-object. | Steve Kemp | |
This replaces redis as a hard-wired default. | |||
2015-01-19 | Updated to use our queue-abstraction. | Steve Kemp | |
This means we can queue/dequeue to either Redis or Beanstalkd. | |||
2013-08-01 | Updated the cool-off period to work after every failed test, bar the | Patrick J Cherry | |
last one. | |||
2013-05-15 | Use log_message() not puts(). | Steve Kemp | |
2013-05-14 | We only sleep between tests if we saw a failure. | Steve Kemp | |
2013-05-14 | Ensure repeat_count and sleep values are integers. | Steve Kemp | |
2013-05-14 | Allow retry-behaviour to be tweaked. | Steve Kemp | |
We can now sleep between retesting, and we configure the number of repeats via the configuration file. | |||
2013-05-14 | Comment update. | Steve Kemp | |
2013-04-23 | The name of the beanstalkd tube is passed into the constructor now. | Steve Kemp | |
2013-01-24 | Updated to log duration of test-runs with our alerters, if they | Steve Kemp | |
implement a "duration" method. | |||
2012-12-12 | The dequeuing process passes the settings to the wroker. | Steve Kemp | |
2012-11-30 | Hard-wire repeat for the moment. It'll come from the configuration | Steve Kemp | |
file shortly. | |||
2012-11-26 | Updated so that each alert-type has its dedicated alert-target. | Steve Kemp | |
2012-11-26 | Allow multiple alerters. | Steve Kemp | |
2012-11-26 | Explicitly watch a "tube" - a named queue - to avoid stomping on | Steve Kemp | |
anything else running under beanstalkd. | |||
2012-11-24 | Renamed 'custodian/protocoltest.rb' -> 'custodian/protocoltests.rb' to ↵ | Steve Kemp | |
match what we did with the alerts. | |||
2012-11-24 | Set the alerter-target, if we can find one. | Steve Kemp | |
2012-11-24 | Use the factory-method to instantiate an alerting method. | Steve Kemp | |
2012-11-24 | Move the protocol-test includes into a single file to avoid duplication. | Steve Kemp | |
2012-11-24 | Simplify test-execution logic, and count the test-runs from 1 rather than ↵ | Steve Kemp | |
zero. | |||
2012-11-24 | Invert the success/failure of tests if appropriate. | Steve Kemp | |
2012-11-23 | Updated the alerter to be in the Custodian name-space, and the worker | Steve Kemp | |
to invoke it from that. Currently alerts are disabled. TODO: Fix this. | |||
2012-11-22 | Removed json library - we don't need/use it. | Steve Kemp | |
2012-11-22 | Updated to use the new string-body from jobs, and the new factory to ↵ | Steve Kemp | |
generate tests. |