Author: ivan
Date: Tue Dec 15 22:33:46 2015
New Revision: 1720264
URL: http://svn.apache.org/viewvc?rev=1720264&view=rev
Log:
On 'parrallel-put' branch: Explicitly ask FS layer to enable concurrent
write if supported.
* subversion/tests/libsvn_fs/fs-test.c
(test_concurrent_txn_write): Set SVN_FS_CONFIG_CONCURRENT_WRITES in FS
config when creating FS for testing.
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=1720264&r1=1720263&r2=1720264&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 Tue
Dec 15 22:33:46 2015
@@ -7054,11 +7054,14 @@ test_concurrent_txn_write(const svn_test
svn_stringbuf_t *actual_foo;
svn_stringbuf_t *actual_bar;
svn_revnum_t new_rev;
+ apr_hash_t *fs_config;
int i;
/* Create a new repo. */
- SVN_ERR(svn_test__create_fs(&fs, "test-repo-concurrent-txn-write",
- opts, pool));
+ fs_config = apr_hash_make(pool);
+ svn_hash_sets(fs_config, SVN_FS_CONFIG_CONCURRENT_WRITES, "1");
+ SVN_ERR(svn_test__create_fs2(&fs, "test-repo-concurrent-txn-write",
+ opts, fs_config, pool));
/* Bail (with success) on known-untestable scenarios */
if (!svn_fs_supports_concurrent_writes(fs, pool))