You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zhihua Deng (Jira)" <ji...@apache.org> on 2025/07/04 09:44:00 UTC
[jira] [Updated] (HIVE-28949) TestDbNotificationListener#createDatabase fails intermittently due to different createTime
[ https://issues.apache.org/jira/browse/HIVE-28949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhihua Deng updated HIVE-28949:
-------------------------------
Component/s: Standalone Metastore
> TestDbNotificationListener#createDatabase fails intermittently due to different createTime
> ------------------------------------------------------------------------------------------
>
> Key: HIVE-28949
> URL: https://issues.apache.org/jira/browse/HIVE-28949
> Project: Hive
> Issue Type: Test
> Components: Standalone Metastore
> Reporter: Stamatis Zampetakis
> Assignee: Stamatis Zampetakis
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.1.0
>
>
> TestDbNotificationListener#createDatabase fails intermittently due differences in the "createTime" field of the database.
> {noformat}
> java.lang.AssertionError: expected:<Database(name:createdb, description:no description, locationUri:file:/home/jenkins/agent/workspace/hive-precommit_PR-5795/itests/hcatalog-unit/target/tmp/testDbNotif, parameters:{transient_lastDdlTime=1746610780}, ownerName:test_user, catalogName:hive, createTime:1746610780)> but was:<Database(name:createdb, description:no description, locationUri:file:/home/jenkins/agent/workspace/hive-precommit_PR-5795/itests/hcatalog-unit/target/tmp/testDbNotif, parameters:{transient_lastDdlTime=1746610780}, ownerName:test_user, catalogName:hive, createTime:1746610781)>
> at org.junit.Assert.fail(Assert.java:89)
> at org.junit.Assert.failNotEquals(Assert.java:835)
> at org.junit.Assert.assertEquals(Assert.java:120)
> at org.junit.Assert.assertEquals(Assert.java:146)
> at org.apache.hive.hcatalog.listener.TestDbNotificationListener.createDatabase(TestDbNotificationListener.java:365)
> {noformat}
> The expected createTime was *1746610780* but the actual createTime is *1746610781*.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)