Skip to content

Commit

Permalink
Add a simple test for Alluxio metastore
Browse files Browse the repository at this point in the history
This test will only make sure that the metastore can be instantiated,
like similar tests for other metastore implementations.
  • Loading branch information
ksobolew authored and kokosing committed May 26, 2022
1 parent 1da52b3 commit 34c9763
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,20 @@ public void testGlueMetastore()
.hasMessageContaining("Error: Configuration property 'hive.metastore.uri' was not used");
}

@Test
public void testAlluxioMetastore()
{
ConnectorFactory factory = getHiveConnectorFactory();

factory.create(
"test",
ImmutableMap.of(
"hive.metastore", "alluxio",
"hive.metastore.alluxio.master.address", "dummy:1234"),
new TestingConnectorContext())
.shutdown();
}

@Test
public void testRecordingMetastore()
{
Expand Down

0 comments on commit 34c9763

Please sign in to comment.