diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-09-06 14:29:03 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-09-06 14:29:03 -0400 |
commit | e0d21baa9fc07a872f6264a95fbcb3ccb46d08f1 (patch) | |
tree | cac904861c3cc3274c7b6000c518f54a2d9cd8b0 /testsuite/Testsrc | |
parent | efb4b669cb78155a17ecb4ec94be0d689e864332 (diff) | |
download | bcfg2-e0d21baa9fc07a872f6264a95fbcb3ccb46d08f1.tar.gz bcfg2-e0d21baa9fc07a872f6264a95fbcb3ccb46d08f1.tar.bz2 bcfg2-e0d21baa9fc07a872f6264a95fbcb3ccb46d08f1.zip |
fixed unit tests for fixed Probes cache expiration
Diffstat (limited to 'testsuite/Testsrc')
-rw-r--r-- | testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py b/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py index 4d5aea936..27b48fce4 100644 --- a/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py +++ b/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py @@ -490,7 +490,7 @@ text self.assertFalse(probes.core.metadata_cache.expire.called) # change the datalist, ensure that the cache is cleared - probes.probedata[client.hostname] = ClientProbeDataSet(a=1, b=2, c=3) + probes.cgroups[client.hostname] = datalist probes.core.metadata_cache_mode = 'aggressive' probes.ReceiveData(client, ['a', 'b', 'd']) |