This was a test to deal with a race condition that resulted in an exception when more than one cluster was involved in truncating a table.
On Wed, Feb 11, 2015 at 7:43 PM, <[email protected]> wrote: > Repository: incubator-blur > Updated Branches: > refs/heads/master 1a89b5f7b -> 3da62a1df > > > think i'm fixing a typo but not really sure what this test is supposed to > test > > > Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo > Commit: > http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/3da62a1d > Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/3da62a1d > Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/3da62a1d > > Branch: refs/heads/master > Commit: 3da62a1df82467d33e5cb2359ea9a7c9026c9fad > Parents: 1a89b5f > Author: twilliams <[email protected]> > Authored: Wed Feb 11 19:43:39 2015 -0500 > Committer: twilliams <[email protected]> > Committed: Wed Feb 11 19:43:39 2015 -0500 > > ---------------------------------------------------------------------- > .../test/java/org/apache/blur/thrift/BlurClusterTestBase.java | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > ---------------------------------------------------------------------- > > > > http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3da62a1d/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTestBase.java > ---------------------------------------------------------------------- > diff --git > a/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTestBase.java > b/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTestBase.java > index eca43ec..dd95513 100644 > --- > a/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTestBase.java > +++ > b/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTestBase.java > @@ -819,8 +819,8 @@ public abstract class BlurClusterTestBase { > } > > @Test > - public void testTrucateRaceCondition() throws BlurException, > TException, IOException, InterruptedException { > - String tableName = "testTrucateRaceCondition"; > + public void testTruncateRaceCondition() throws BlurException, > TException, IOException, InterruptedException { > + String tableName = "testTruncateRaceCondition"; > createTable(tableName); > loadTable(tableName); > List<Connection> connections = > BlurClientManager.getConnections(miniCluster.getControllerConnectionStr()); > >
