garrensmith commented on a change in pull request #2585: Mango Indexes on FoundationDB URL: https://github.com/apache/couchdb/pull/2585#discussion_r398660573
########## File path: src/couch_views/test/couch_views_map_test.erl ########## @@ -419,6 +422,28 @@ should_map_update_is_lazy() -> ?assertEqual(Expect, Result2). +should_map_wait_for_interactive() -> + VS = {versionstamp,1118196581,0,1}, + DbName = ?tempdb(), + {ok, Db} = fabric2_db:create(DbName, [{user_ctx, ?ADMIN_USER}]), + + DDoc = create_interactive_ddoc(), + Docs = make_docs(3), + + fabric2_db:update_docs(Db, Docs), + fabric2_db:update_docs(Db, [DDoc]), + + meck:expect(couch_views_fdb, get_creation_vs,2, + {VS, ?INDEX_BUILDING}), Review comment: I've removed the meck check and increased the doc count. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services