 +-define(ADMIN_USER, {user_ctx, ?ADMIN_ROLE}).
 +-define(ATTFILE, filename:join([?FIXTURESDIR, "logo.png"])).
 +-define(DELAY, 100).
-+-define(TIMEOUT, 150000).
-+-define(TIMEOUT_STOP, 5000).
-+-define(TIMEOUT_WRITER, 15000).
++-define(TIMEOUT, 1500000).
++-define(TIMEOUT_STOP, 50000).
++-define(TIMEOUT_WRITER, 150000).
 +-define(TIMEOUT_EUNIT, ?TIMEOUT div 1000 + 5).
 +
 +setup() ->

+-include_lib("couchdb/couch_db.hrl").
+
+-define(ADMIN_USER, {user_ctx, #user_ctx{roles=[<<"_admin">>]}}).
+-define(TIMEOUT, 5000).
+
+
+start() ->

+-define(ATT_TXT_NAME, <<"file.erl">>).
+-define(FIXTURE_PNG, filename:join([?FIXTURESDIR, "logo.png"])).
+-define(FIXTURE_TXT, ?FILE).
+-define(TIMEOUT, 50000).
+-define(TIMEOUT_EUNIT, 500).
+-define(TIMEWAIT, 100).
+-define(i2l(I), integer_to_list(I)).
+
