summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py
Commit message (Collapse)AuthorAgeFilesLines
* Probes: rewrite for new caching systemChris St. Pierre2013-08-161-419/+150
| | | | | | | | | | | Substantially rewrote the way the Probes plugin caches data. Formerly, it was structured to assume that probe data was stored in probed.xml, with the database feature very much a second-class citizen; this adds a proper abstraction layer between the persistent storage and the plugin (and its caches). Also rewrote most Probes unit tests to actually be useful unit tests, not implementation tests.
* testsuite: fixed unit tests for server pluginsChris St. Pierre2013-08-091-78/+86
|
* Merge branch 'maint'Chris St. Pierre2013-08-081-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/appendix/files/mysql.txt doc/getting_started/index.txt doc/server/plugins/structures/bundler/kernel.txt src/lib/Bcfg2/Server/MultiprocessingCore.py src/lib/Bcfg2/Server/Plugin/interfaces.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Probes.py src/lib/Bcfg2/Server/Plugins/SSHbase.py
| * Probes: fixed unit testChris St. Pierre2013-08-051-1/+1
| |
* | Merge branch 'maint'Chris St. Pierre2013-04-241-67/+125
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Client.py src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Client/Tools/YUM.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Admin/Perf.py src/lib/Bcfg2/Server/Admin/Xcmd.py src/lib/Bcfg2/Server/Admin/__init__.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/FileMonitor/Fam.py src/lib/Bcfg2/Server/Lint/RequiredAttrs.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Base.py src/lib/Bcfg2/Server/Plugins/Bundler.py src/lib/Bcfg2/Server/Plugins/Cfg/CfgPrivateKeyCreator.py src/lib/Bcfg2/Server/Plugins/Cvs.py src/lib/Bcfg2/Server/Plugins/Darcs.py src/lib/Bcfg2/Server/Plugins/Decisions.py src/lib/Bcfg2/Server/Plugins/FileProbes.py src/lib/Bcfg2/Server/Plugins/Fossil.py src/lib/Bcfg2/Server/Plugins/Git.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/Plugins/NagiosGen.py src/lib/Bcfg2/Server/Plugins/Packages/PackagesSources.py src/lib/Bcfg2/Server/Plugins/Packages/Source.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Properties.py src/lib/Bcfg2/Server/Plugins/__init__.py src/lib/Bcfg2/Server/__init__.py src/sbin/bcfg2-build-reports src/sbin/bcfg2-crypt testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestMetadata.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProperties.py
| * testsuite: fixed Probes test that uses version informationChris St. Pierre2013-04-021-2/+3
| |
| * Probes: fixed unit tests for new use of lxml.etree._ElementTree.write ↵Chris St. Pierre2013-03-261-60/+118
| | | | | | | | instead of open().write()
| * Handle FAM monitor failures more gracefully:Chris St. Pierre2013-03-251-5/+4
| | | | | | | | | | | | | | | | | | * Where possible, create the file or directory that is about to be monitored. This ensures that content can be added later without need to restart Bcfg2. (Otherwise, adding the monitor would fail, and so when you did create the file in question, bcfg2-server would never be notified of it.) * When not possible, give better error messages.
* | fixed unit testsChris St. Pierre2013-01-171-10/+3
| |
* | added a module-level FAM object to avoid passing it as an argument a billion ↵Chris St. Pierre2013-01-171-10/+12
|/ | | | times
* added unit tests for Rules and DefaultsChris St. Pierre2012-12-181-12/+13
|
* Fix tests for probesTim Laszlo2012-10-241-2/+5
|
* Fix tests for probesTim Laszlo2012-10-241-4/+8
|
* wrote sphinx docs for base server CoreChris St. Pierre2012-10-151-2/+2
|
* wrote more detailed unit testing documentationChris St. Pierre2012-10-051-3/+1
|
* expanded pylint coverageChris St. Pierre2012-09-251-7/+31
|
* fixed tests for pylint changesChris St. Pierre2012-09-251-38/+19
|
* testsuite: Fixed Probes JSON testsChris St. Pierre2012-09-201-8/+5
|
* fixed unit tests for fixed Probes cache expirationChris St. Pierre2012-09-061-1/+1
|
* documented base plugin interfacesChris St. Pierre2012-09-061-4/+5
|
* added server-side client metadata object cachingChris St. Pierre2012-09-051-0/+10
|
* reorganized testsuite to allow tests on stuff outside of srcChris St. Pierre2012-09-041-0/+549