summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestMetadata.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-10-04 15:10:36 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-10-04 15:10:58 -0400
commit9a6a231ccb4f509c0f6fa932c97bad647d29af50 (patch)
treeda2223d140f756cffa931b9f7143f396c48fa26d /testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestMetadata.py
parent7f6c10db41c22b3924539aae19164a9ab9a80468 (diff)
downloadbcfg2-9a6a231ccb4f509c0f6fa932c97bad647d29af50.tar.gz
bcfg2-9a6a231ccb4f509c0f6fa932c97bad647d29af50.tar.bz2
bcfg2-9a6a231ccb4f509c0f6fa932c97bad647d29af50.zip
Metadata: read in clients.xml on every write
This ensures consistency between the in-memory representation of clients.xml and the representation on disk. If we don't read our writes immediately, there's a race condition when creating a new client: If it asserts its profile or version before the FAM event from the clients.xml edit is processed, then the clients doesn't appear to exist yet, and Bcfg2 complains.
Diffstat (limited to 'testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestMetadata.py')
0 files changed, 0 insertions, 0 deletions