You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by Zack Shoylev <no...@github.com> on 2016/03/10 20:44:21 UTC

[jclouds] Ensures parallel tests don't step on each other in Static Large Objec… (#935)

…t swift testing
You can view, comment on, or merge this pull request online at:

  https://github.com/jclouds/jclouds/pull/935

-- Commit Summary --

  * Ensures parallel tests don't step on each other in Static Large Object swift testing

-- File Changes --

    M apis/openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/features/StaticLargeObjectApiLiveTest.java (42)

-- Patch Links --

https://github.com/jclouds/jclouds/pull/935.patch
https://github.com/jclouds/jclouds/pull/935.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/935

Re: [jclouds/jclouds] Ensures parallel tests don't step on each other in Static Large Objec… (#935)

Posted by Zack Shoylev <no...@github.com>.
Closed #935.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/935#event-909919093

Re: [jclouds] Ensures parallel tests don't step on each other in Static Large Objec… (#935)

Posted by Andrew Gaul <no...@github.com>.
>     private byte[] megOf1s;
>     private byte[] megOf2s;
>  
> +   private static Queue<String> containerCleanup = new ConcurrentLinkedQueue<String>();
> +
> +   private String getContainer() {

Instead of using a custom setup and teardown, could you just change `BaseSwiftApiLiveTest` to inherit from `BaseBlobStoreIntegrationTest` and use its methods?  `S3ClientLiveTest` uses this common code for an example.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/935/files#r55764889