Re: Flakey tests and django.db.utils.InterfaceError: connection already closed

2018-02-12 Thread Peter Nociar
Thanks, this fixed my issue. On Tuesday, 12 April 2016 04:28:21 UTC+1, thinkwell wrote: > > I'd parked this problem for quite some time, until it finally became > incontestably necessary to wrestle the issue to the ground. > > What I found, after many hours of experimenting - too much like the r

Re: Flakey tests and django.db.utils.InterfaceError: connection already closed

2016-04-11 Thread thinkwell
I'd parked this problem for quite some time, until it finally became incontestably necessary to wrestle the issue to the ground. What I found, after many hours of experimenting - too much like the random walk, I suppose, is that every time I overrode setUpClass, I also had to override tearDownC

Re: Flakey tests and django.db.utils.InterfaceError: connection already closed

2015-10-28 Thread Collin Anderson
Hello, Here are some questions that might help debugging this: Do other tests that use the database run ok? If you run _only_ this test, is it still a problem? Are you using threads at all? Is there an exception that's being silenced somewhere else? Collin On Tuesday, October 27, 2015 at 9:

Re: Flakey tests and django.db.utils.InterfaceError: connection already closed

2015-10-27 Thread Tim Graham
A test project that reproduces the problem would be helpful. On Tuesday, October 27, 2015 at 9:14:13 AM UTC-4, Christopher R. wrote: > > Have you been able to fix the problem? I am encountering the same issue on > both Django 1.8.4 and 1.8.5. > > Any help would be appreciated. > > On Thursday, Oc

Re: Flakey tests and django.db.utils.InterfaceError: connection already closed

2015-10-27 Thread Christopher R.
Have you been able to fix the problem? I am encountering the same issue on both Django 1.8.4 and 1.8.5. Any help would be appreciated. On Thursday, October 8, 2015 at 3:38:16 PM UTC+1, thinkwell wrote: > > I could use some assistance in troubleshooting a psycopg2.InterfaceError > problem that h

Flakey tests and django.db.utils.InterfaceError: connection already closed

2015-10-08 Thread thinkwell
I could use some assistance in troubleshooting a psycopg2.InterfaceError problem that has erratic behavior. Here is the test module suite that I'm running to test these models , and in this state all the tests in the module pass. Howe