rkirtir commented on code in PR #4497:
URL: https://github.com/apache/hive/pull/4497#discussion_r1297930078
##########
itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java:
##########
@@ -211,6 +203,11 @@ public void onAlterTable (AlterTableEvent tableEvent)
throws MetaException {
pushEventId(EventType.ALTER_TABLE, tableEvent);
}
+ @Override
+ public void onAlterDatabase(AlterDatabaseEvent dbEvent) throws
MetaException {
+ pushEventId(EventType.ALTER_DATABASE, dbEvent);
+ }
+
Review Comment:
Mock class needs to push ALTER_DATABASE event in order to get recorded
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]