You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2016/01/23 12:47:44 UTC
svn commit: r1726384 -
/subversion/branches/parallel-put/subversion/tests/libsvn_fs/fs-test.c
Author: stefan2
Date: Sat Jan 23 11:47:44 2016
New Revision: 1726384
URL: http://svn.apache.org/viewvc?rev=1726384&view=rev
Log:
On the parallel-put branch:
Make sure the parallel-put test would detect any on-disk inconsistency.
* subversion/tests/libsvn_fs/fs-test.c
(test_parallel_put): Perform a full repository verification.
Modified:
subversion/branches/parallel-put/subversion/tests/libsvn_fs/fs-test.c
Modified: subversion/branches/parallel-put/subversion/tests/libsvn_fs/fs-test.c
URL: http://svn.apache.org/viewvc/subversion/branches/parallel-put/subversion/tests/libsvn_fs/fs-test.c?rev=1726384&r1=1726383&r2=1726384&view=diff
==============================================================================
--- subversion/branches/parallel-put/subversion/tests/libsvn_fs/fs-test.c (original)
+++ subversion/branches/parallel-put/subversion/tests/libsvn_fs/fs-test.c Sat Jan 23 11:47:44 2016
@@ -7401,6 +7401,13 @@ test_parallel_put(const svn_test_opts_t
/* All contents as expected? */
SVN_ERR(verify_contents(fs, 1, COUNT, PROC_COUNT, pool));
+ /* Verify the whole repository (including meta-data etc.) */
+ svn_hash_sets(config, SVN_FS_CONFIG_FSFS_CACHE_NS,
+ svn_uuid_generate(pool));
+ SVN_ERR(svn_fs_verify(repo_name, config, 0, new_rev,
+ NULL, NULL, NULL, NULL, /* No callbacks. */
+ pool));
+
/* Done. */
svn_pool_destroy(iterpool);
return SVN_NO_ERROR;