---

** [tickets:#7178] error with parallel tests: 'solr' is None**

**Status:** closed
**Milestone:** asf_release_1.2.0
**Labels:** sf-2 
**Created:** Fri Feb 14, 2014 06:35 PM UTC by Dave Brondsema
**Last Updated:** Wed Dec 31, 2014 02:24 PM UTC
**Owner:** Cory Johns

Sometimes when using ./run_tests with multiple processes, I get lots of these 
errors:

~~~~
  File 
"/var/local/env-allura/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/case.py",
 line 381, in setUp
    try_run(self.inst, ('setup', 'setUp'))
  File 
"/var/local/env-allura/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/util.py",
 line 469, in try_run
    return func()
  File 
"/home/dbrondsema/dbrondsema-1019/forge/AlluraTest/alluratest/controller.py", 
line 129, in setUp
    setup_functional_test(app_name=self.application_under_test))
  File 
"/home/dbrondsema/dbrondsema-1019/forge/AlluraTest/alluratest/controller.py", 
line 83, in setup_functional_test
    setup_basic_test(config, app_name)
  File 
"/home/dbrondsema/dbrondsema-1019/forge/AlluraTest/alluratest/controller.py", 
line 75, in setup_basic_test
    while M.MonQTask.run_ready('setup'):
  File 
"/home/dbrondsema/dbrondsema-1019/forge/Allura/allura/model/monq_model.py", 
line 239, in run_ready
    task()
  File 
"/home/dbrondsema/dbrondsema-1019/forge/Allura/allura/model/monq_model.py", 
line 267, in __call__
    self.result = func(*self.args, **self.kwargs)
  File 
"/home/dbrondsema/dbrondsema-1019/forge/Allura/allura/tasks/index_tasks.py", 
line 66, in add_artifacts
    solr.add(solr_updates)
AttributeError: 'NoneType' object has no attribute 'add'
~~~~


---

Sent from forge-allura.apache.org because [email protected] is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to