google-code-export / activeweb

Automatically exported from code.google.com/p/activeweb
0 stars 0 forks source link

AppIntegrationSpec has lifecycle issues #130

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. it creates a separate AppContext instance from the one inside of the 
requestDispatcher
2. it calls init but not destroy on the requestDispatcher

#2 is important if you are starting up services in your AppBootstrap that open 
a port. If those ports aren't closed, then the next AppIntegrationTest will try 
to open them a 2nd time and get an exception

Original issue reported on code.google.com by evan.leo...@gmail.com on 28 Apr 2013 at 4:44

GoogleCodeExporter commented 9 years ago
Igor, take a look at this patch to fix these two issues. I know you want to 
rewrite all this stuff. But I've got to work with what's there right now!

Original comment by evan.leo...@gmail.com on 28 Apr 2013 at 4:48

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by evan.leo...@gmail.com on 28 Apr 2013 at 5:07

GoogleCodeExporter commented 9 years ago

Original comment by i...@polevoy.org on 30 Apr 2013 at 10:38