Oops. I was calling cinder.close() in a method in the superclass (BaseCinderApiLiveTest) of VolumeApiLiveTest and that method was getting called before VolumeApiLiveTest.tearDownContext(). Basically I was trying to use the context after I had closed it.
Nothing to see here...move on.
Everett
From: Everett Toews <everett.to...@rackspace.com<mailto:everett.to...@rackspace.com>>
Reply-To: "jclouds-dev@googlegroups.com<mailto:jclouds-dev@googlegroups.com>" <jclouds-dev@googlegroups.com<mailto:jclouds-dev@googlegroups.com>>
Date: Sunday, November 4, 2012 12:58 PM
To: "jclouds-dev@googlegroups.com<mailto:jclouds-dev@googlegroups.com>" <jclouds-dev@googlegroups.com<mailto:jclouds-dev@googlegroups.com>>
Subject: RejectedExecutionException
Hi All,
I've run into a strange problem during live testing. I've got some live tests for the Volume API [1] and they're running successfully but when the test are done and the tearDownContext() method runs I get a RejectedExecutionException [2]. Frankly I'm not too sure what's going on. From what I've read it seems like the executor service has been shutdown by the time tearDownContext() is called but I don't know if that's true.
Has anyone else run into this while testing? Any ideas as to what might be going on?
[1] https://gist.github.com/4012748#file_volume_api_live_test.java
[2] https://gist.github.com/4012748#file_fail.java
Thanks,
Everett
--
You received this message because you are subscribed to the Google Groups "jclouds-dev" group.
To post to this group, send email to jclouds-dev@googlegroups.com<mailto:jclouds-dev@googlegroups.com>.
To unsubscribe from this group, send email to jclouds-dev+unsubscribe@googlegroups.com<mailto:jclouds-dev+unsubscribe@goo glegroups.com>.
For more options, visit this group at http://groups.google.com/group/jclouds-dev?hl=en.