reuse cluster for TFsShellTest and made each test isolated

Cut TFsShellTest from 6 minutes to 30 seconds.  Same trick can be used for all long running tests.
Can you point to the discuss? I'm concerned if we keep making style changes
arbitrarily
On Dec 21, 2014 11:28 AM, "Haoyuan Li" <notifications@github.com> wrote:

> In core/src/test/java/tachyon/client/FileInStreamTest.java
> <https://github.com/amplab/tachyon/pull/570#discussion-diff-22149616>:
>
> >      System.setProperty("tachyon.user.quota.unit.bytes", "1000");
> >      System.setProperty("tachyon.user.default.block.size.byte", String.valueOf(BLOCK_SIZE));
> > -    mLocalTachyonCluster = new LocalTachyonCluster(10000);
> > -    mLocalTachyonCluster.start();
> > -    mTfs = mLocalTachyonCluster.getClient();
> > +    CLUSTER = new LocalTachyonCluster(10000);
> > +    CLUSTER.start();
> > +    TFS = CLUSTER.getClient();
> > +  }
> > +
>
> It was there long time ago. We can have another JIRA/thread to discuss
> that.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/amplab/tachyon/pull/570/files#r22149616>.
>