Skip to content

Commit

Permalink
Move FullBucketRead test to use random bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmoore committed Aug 26, 2016
1 parent 79ff0b3 commit a4627bc
Showing 1 changed file with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,17 @@ public static void BeforeClass() throws ExecutionException, InterruptedException
{
Assume.assumeTrue(testTimeSeries);
Assume.assumeTrue(testCoveragePlan);

bucketName = BinaryValue.create("ITestFullBucketRead" + new Random().nextLong());
setupData();
}

@AfterClass
public static void AfterClass() throws ExecutionException, InterruptedException
{
resetAndEmptyBucket(defaultNamespace());
}

private static void setupData() throws ExecutionException, InterruptedException
{
String indexName = "creationNo";
Expand Down Expand Up @@ -84,16 +92,6 @@ private static void setupCoveragePlan() throws ExecutionException, InterruptedEx
}
}

@AfterClass
public static void cleanupData() throws ExecutionException, InterruptedException
{
resetAndEmptyBucket(bucketName);
if (testBucketType)
{
resetAndEmptyBucket(defaultNamespace());
}
}

@Test
public void readPlainTextValues() throws ExecutionException, InterruptedException, UnknownHostException
{
Expand Down

0 comments on commit a4627bc

Please sign in to comment.