Skip to content

Commit

Permalink
Fix FileHiveMetastore test version to match TestingTrinoServer
Browse files Browse the repository at this point in the history
If FileHiveMetastore#createTestingFileHiveMetastore is used along with
TestingTrinoServer the version check would fail.
  • Loading branch information
alexjo2144 authored and phd3 committed Jul 12, 2021
1 parent 90e3fd2 commit b602cd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public static FileHiveMetastore createTestingFileHiveMetastore(File catalogDirec
HdfsConfiguration hdfsConfiguration = new HiveHdfsConfiguration(new HdfsConfigurationInitializer(hdfsConfig), ImmutableSet.of());
HdfsEnvironment hdfsEnvironment = new HdfsEnvironment(hdfsConfiguration, hdfsConfig, new NoHdfsAuthentication());
return new FileHiveMetastore(
new NodeVersion("test_version"),
new NodeVersion("testversion"),
hdfsEnvironment,
new MetastoreConfig(),
new FileHiveMetastoreConfig()
Expand Down

0 comments on commit b602cd8

Please sign in to comment.