Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-04-16 | Updated test-handler for new API. | Steve Kemp | |
This update consists of two changes: * No longer return "true" or "false" instead return "TEST_FAILED", or "TEST_SUCCEEDED". * Removed the testing of test-inversion from the class, now it lives in the base-class where it should have done all along. | |||
2015-03-09 | Updated to test for more whitespace issues. | Steve Kemp | |
2015-03-09 | Removed trailing whitespace from the code | 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 | Prefer single-quoted strings inside interpolations. | Steve Kemp | |
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 "Array.new" and "Hash.new" | Steve Kemp | |
Instead use {} + (). | |||
2015-01-08 | Simplified error messages for DNS failures. | Steve Kemp | |
We show the result we expected and what we received, but we do so with quoted strings. So rather than: * one * two we show "one,two". This closes #8538. | |||
2014-12-11 | Fixed typo | Patrick J Cherry | |
2014-12-11 | Resolve DNS server name to an IP before connecting, so ruby knows | Patrick J Cherry | |
which protocol to use. | |||
2014-12-11 | Further tidying the DNS class to use an array rather than a string to | Patrick J Cherry | |
compare stuff. | |||
2014-12-11 | make dns comparisons alL LoWeR CaSe | Patrick J Cherry | |
2013-05-15 | Honour the global timeout period. | Steve Kemp | |
The global configuration file, /etc/custodian/custodian.cfg, has a timeout=XX setting in it. Until now we've ignored it and used a fixed timeout of 20/30 seconds. Now we fully honour the specified value. | |||
2012-12-11 | Updated to be more explicit in the error field. | Steve Kemp | |
2012-12-11 | Updated comments. | Steve Kemp | |
2012-12-11 | Updated to quote the expected results in the details field. | Steve Kemp | |
2012-12-11 | Use and require an exact match in DNS results. | Steve Kemp | |
2012-12-10 | Ensure we raise an exception if we're trying to resolve an unknown ↵ | Steve Kemp | |
record-type. Added test-case too. | |||
2012-12-10 | Ensure DNS test returns nil if an unrecognised record type is given, | Patrick J Cherry | |
to make sure error handling in the caller works. | |||
2012-11-26 | Ensure we load the resolving library | Steve Kemp | |
2012-11-23 | Implemented DNS protocol-test. | Steve Kemp | |
2012-11-23 | Test that inverted() works for each protocol test we know about. | Steve Kemp | |
2012-11-22 | Parse the configuration file into arrays of jobs, via our test-factory | Steve Kemp | |
2012-11-22 | Whitespace updates. | Steve Kemp | |
2012-11-22 | Moved tests into a namespace. | Steve Kemp | |
2012-11-22 | Updated to stub out more code. | Steve Kemp | |
2012-11-22 | Updated DNS | Steve Kemp | |
2012-11-21 | Added. todo. | Steve Kemp | |