summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-22More rubocop fixes.Steve Kemp
2016-04-22Fixed up more rubocop warnings.Steve Kemp
Again these were whitespace-related.
2016-04-22More updates to silence rubocop style-guides.Steve Kemp
These warnings were largely whitespace-based.
2016-04-22Updated for the most recent rubocop version.Steve Kemp
This is fixes for 0.39.0
2016-04-22Updated to fix rubocop warnings.Steve Kemp
2016-04-22Renamed the README file we include.Steve Kemp
2016-04-22Fixed Markdown formattingSteve Kemp
2016-04-22Renamed page.Steve Kemp
2016-04-22Minor updates.Steve Kemp
2016-04-22Readded file.Steve Kemp
It was required after all.
2016-04-22Merge branch 'master' of ssh://projects.bytemark.co.uk//home/git/custodianSteve Kemp
2016-04-22Removed obsolete file.Steve Kemp
2016-04-22Added tftp-hpa as a debian package dependencyJames F. Carter
2016-04-22new releaseJames F. Carter
2016-04-22Deleted trailing whitespace.Steve Kemp
Made minor formatting cleanups
2016-04-22Simplified the parsing of the TFTP URI.Steve Kemp
2016-04-21added tftp protocol testJames F. Carter
2016-04-21added a simple tftp utilityJames F. Carter
2016-04-05Bumped dependencies.Steve Kemp
This allows the package to install upon Jessie. The redis library wasn't added, so that we can still install upon Wheezy. To install upon Wheezy: gem install curb gem install redis Once our status-hosts are all Wheezy we can defult to ruby-redis. This closes #12713
2016-02-10New releaseSteve Kemp
2016-02-10Don't allow limiting protocl on HTTP/HTTPS tests.root
We cannot allow HTTP/HTTPS to be limited by protocol, such as IPv4-only or IPv6-only. Raise an error in the parser if this is attempted. Added test-case to confirm, and this closes #12488.
2016-02-10Adjusted greediness of regex in http with contentPatrick J Cherry
It should match the next occurrence of the opening quote type, not the last.
2016-02-10Updated tests to use 'omit' when availablePatrick J Cherry
The redis and rubocop tests now skip on ruby > 2.0 (I think)
2016-02-10Adjusted http with content string parsing.Patrick J Cherry
It now matches "can't match" and 'he said "ha!"'. Added tests.
2016-01-18Removed queue-examples.Steve Kemp
These are no longer required now we're sure we understand the process of adding jobs to the queue without duplication.
2016-01-18Updated the queue-handling.Steve Kemp
We now use a zset to store our pending tests. This means that jobs are only in the queue once - no duplicates are allowed. This closes #12428.
2016-01-11Allow expected-test to be double-quoted.Steve Kemp
This changes the parser from only allowing this: http://example.com/ must run http with content 'reserved'. To allowing both of these: http://example.com/ must run http with content "reservered". http://example.com/ must run http with content 'reserved'.
2015-12-21Added a threaded PoC for a "zpop" implementation.Patrick J Cherry
This follows the instructions from http://redis.io/topics/transactions#using-a-hrefcommandswatchwatcha-to-implement-zpop
2015-12-21updated the add routine to ensure we update the set in order.Patrick J Cherry
2015-12-20Fixing test suite as per lodge postJames Lawrie
2015-12-18Modified zset test program to exit if it encounters a test it has already seen.Patrick J Cherry
This helps with debugging. We expect it to exit eventually, but only after it has seen all tests.
2015-12-18Added queue-demonstration programs.Steve Kemp
2015-12-18Document queueSteve Kemp
2015-12-18Updated to use the right form of counting for the set.Steve Kemp
2015-12-18Fixed the name of the string.Steve Kemp
2015-12-18New release.Steve Kemp
2015-12-18Updated to revert to a set with no ordering.Steve Kemp
This is more reliable, albeit potentially racy and with the failure case that a job might be readded twice.
2015-12-18Return values using a reverse-score-range.Steve Kemp
This prevents starvation, by ensuring that we pull tests out in a FIFO fashion - by virtue of the timestamp.
2015-12-18We only have one queue-type now.Steve Kemp
Remove the configuration-variable that used to allow switching at run-time.
2015-12-18Removed 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-12-18Removed debugging print.Steve Kemp
2015-12-18Removed the diagnostic output of the test-scoresSteve Kemp
2015-12-18New releaseSteve Kemp
2015-12-18Drop reference beanstalkd.Steve Kemp
2015-12-18Use a sorted set for tests in our queue.Steve Kemp
This ensures that all tests always run, and we have an ordering.
2015-12-17new release.Steve Kemp
2015-12-17Treat our Redis queue as a set.Steve Kemp
This means that tests will only ever be enqueued once, regardless of how many times they are parsed. In the past we could have a configuration file that read: test1 .. test2 .. test3 .. Parsing/adding this file would result in a queue looking like so: test1 .. test2 .. test3 .. test1 .. test2 .. test3 .. test1 .. test2 .. test3 .. Now the queue will *ALWAYS* look like this: test1 .. test2 .. test3 .. In the normal course of events this won't matter, as teh processing loop will look like so: * Add new jobs every minute. * Worker runs the jobs. In the case of a failing job though the test might take 2.5 minutes and that will cause the queue to backup. (2.5 minutes because a test is repeated 5 times before a fail is announced, and the timeout is 30 seconds. These values can and should be tweaked.) With the new method even if the queue is slowly draining the queue will never grow to containu hundreds of events it will just be "topped up" not "overflowing". Thanks to James Hannah for the suggestion, and James Lawrie for the patience.
2015-12-17Remove references to beanstalkdSteve Kemp
2015-12-02New release.Steve Kemp
2015-12-02Added swordfish range - 5.28.56.0/21Steve Kemp