[TACHYON-68] When file is completed, reject all write requests on client

side
They where copy paste from other classes. Didn't want to refractor all the
other tests in this PR.

I wasn't too send a diff PR that makes tests less copy paste (Constance,
functions, etc)
On Aug 14, 2014 4:29 PM, "Haoyuan Li" <notifications@github.com> wrote:

> In core/src/test/java/tachyon/client/Constants.java:
>
> > + * (the "License"); you may not use this file except in compliance with
> > + * the License. You may obtain a copy of the License at
> > + * http://www.apache.org/licenses/LICENSE-2.0
> > + * Unless required by applicable law or agreed to in writing, software
> > + * distributed under the License is distributed on an "AS IS" BASIS,
> > + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> > + * See the License for the specific language governing permissions and
> > + * limitations under the License.
> > + */
> > +package tachyon.client;
> > +
> > +public final class Constants {
> > +  public static final int WORKER_CAPACITY_BYTES = 1000;
> > +
> > +  public static final int USER_QUOTA_UNIT_BYTES = 100;
> > +  public static final String USER_QUOTA_UNIT_BYTES_STR = Integer.toString(USER_QUOTA_UNIT_BYTES);
>
> All these are only used in
> core/src/test/java/tachyon/client/TachyonFileUpdateTest.java ? If so, let's
> make these constants local to that class.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/amplab/tachyon/pull/363/files#r16273387>.
>