Skip to content

Convert hibernate-4.0 groovy tests - part 2#9249

Merged
trask merged 3 commits into
open-telemetry:mainfrom
jaydeluca:convert-hibernate-4-0-tests-pt2
Aug 21, 2023
Merged

Convert hibernate-4.0 groovy tests - part 2#9249
trask merged 3 commits into
open-telemetry:mainfrom
jaydeluca:convert-hibernate-4-0-tests-pt2

Conversation

@jaydeluca

Copy link
Copy Markdown
Member

Related to #7195

Part 2 of the conversion (Part 1 for reference)

Some notes for EntityManagerTest:

  • I split up the groovy "test hibernate action #testName" test into two separate tests (testHibernateActions & testHibernatePersist) to try and reduce some of the conditional logic in a single test.
  • I added some additional logic around the methodName for the variation between Hibernate versions ("get" vs "find"), since the groovy test uses an "or" condition: "(get|find)".

@jaydeluca jaydeluca requested a review from a team August 18, 2023 12:30

@mateuszrzeszutek mateuszrzeszutek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice 👍

@trask trask enabled auto-merge (squash) August 21, 2023 21:18
@trask trask merged commit aca29de into open-telemetry:main Aug 21, 2023
@jaydeluca jaydeluca deleted the convert-hibernate-4-0-tests-pt2 branch September 24, 2023 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants