Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HIVE-23680 : TestDbNotificationListener is unstable #4682

Merged
merged 1 commit into from Oct 9, 2023

Conversation

rkirtir
Copy link
Contributor

@rkirtir rkirtir commented Sep 12, 2023

What changes were proposed in this pull request?

Original PR #4497
was merged to stream but had to revert because of mockito changes. Rerasing this PR after fixing mockito change

https://issues.apache.org/jira/browse/HIVE-23680
TestDbNotificationListener was flakey as well as broken .
As a part of fix, There are nowtotal 3 test classes based on broken tests in TestDbNotificationListener

TestDbNotificationListener
Fix of existing tests which includes nontransactional events

TestDbNotificationCleanup
This class includes tests which asserts cleanup of events based on TTL configurations

TestTransactionalDbNotificationListner
This class included tests with transactional event. This needs extra HMS test setup and acid properties setting.

Why are the changes needed?

TestDbNotificationListener is broken
http://34.66.156.144:8080/job/hive-precommit/job/master/35/testReport/
http://130.211.9.232/job/hive-flaky-check/24/

Does this PR introduce any user-facing change?

NO

Is the change a dependency upgrade?

NO

How was this patch tested?

http://ci.hive.apache.org/job/hive-flaky-check/722/
http://ci.hive.apache.org/job/hive-flaky-check/721/
http://ci.hive.apache.org/job/hive-flaky-check/720/

@rkirtir
Copy link
Contributor Author

rkirtir commented Sep 12, 2023

Original PR
#4497
was merged to stream but had to revert because of mockito changes. Raising this PR after fixing mockito change

@sonarcloud
Copy link

sonarcloud bot commented Oct 6, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

warning The version of Java (11.0.8) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

Copy link
Contributor

@veghlaci05 veghlaci05 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@veghlaci05 veghlaci05 merged commit f5d0891 into apache:master Oct 9, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants