wohali commented on issue #549: [Jenkins] timeout triggered by all_dbs_active
URL: https://github.com/apache/couchdb/issues/549#issuecomment-312931887
 
 
   I looked at this one a bit more closely. The Makefile log output is here: 
https://builds.apache.org/blue/organizations/jenkins/CouchDB/detail/2.1.x/1/pipeline/49/
   
   ~~That `all_dbs_active` error got me wondering: perhaps a prior test set the 
`max_dbs_open` value low, and didn't clear it. A few tests earlier, 
`couchdb_views_tests:couchdb_1283` calls:~~
   
   ```erlang
   ok = config:set("couchdb", "max_dbs_open", "3", false),
   ```
   
   ~~but I never see a similar `config:set` call to restore the default. Does 
our test harness clean these up for us, or could the old setting be hanging 
around still? If the test harness doesn't clean up config settings for us, 
there may be a number of places in the eunit tests where this could be biting 
us in weird ways.~~
   
   EDIT: Thanks, @rnewson, for helping me see that the harness calls 
`test_util:stop_couch/0` which does a `stop_applications(?DEFAULT_APPS)` and 
`-define(DEFAULT_APPS, [inets, ibrowse, ssl, config, couch_epi, couch_event, 
couch]).` By stopping the `config` app it loses all the settings, and that 
final `false` in the `config:set/4` call prevents the config change from being 
written to the ini file. So this is not the issue at hand...yet.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to