diff options
author | Paul Joseph Davis <davisp@apache.org> | 2009-11-26 00:19:02 +0000 |
---|---|---|
committer | Paul Joseph Davis <davisp@apache.org> | 2009-11-26 00:19:02 +0000 |
commit | a320015ab1e34cefdeef9bd151197d80f87b932d (patch) | |
tree | bfdb411ec39b78ea88f076168ecba022aa900142 /src | |
parent | 03ec23ec19c5b1b9b865f26c6680a5327706a6c8 (diff) |
Update the open db's test to check failure.
Damien made a good point that we should check that the error is generated as expected before waiting as necessary for the active db's to go idle.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884344 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/couchdb/couch_db_updater.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_db_updater.erl b/src/couchdb/couch_db_updater.erl index 1da07326..51a81efd 100644 --- a/src/couchdb/couch_db_updater.erl +++ b/src/couchdb/couch_db_updater.erl @@ -685,7 +685,7 @@ commit_data(#db{fd=Fd,header=OldHeader,fsync_options=FsyncOptions}=Db, Delay) -> Db2 = Db#db{waiting_delayed_commit=nil, header=Header, committed_update_seq=Db#db.update_seq}, - %ok = gen_server:call(Db2#db.main_pid, {db_updated, Db2}), + ok = gen_server:call(Db2#db.main_pid, {db_updated, Db2}), Db2 end. |