Skip to content

Fixed LOB column issue for H2 and Postgres#1341

Merged
andreybavt merged 4 commits intomainfrom
bug/fix-h2-db-lob
Aug 29, 2023
Merged

Fixed LOB column issue for H2 and Postgres#1341
andreybavt merged 4 commits intomainfrom
bug/fix-h2-db-lob

Conversation

@andreybavt
Copy link
Copy Markdown
Contributor

  • fixed LOB column issue for Postgres and H2
  • added more verbose logging during the liquibase setup to know for sure which connection it's using

Here are the commands to run tests on H2 and Postgres:

  • ../gradlew :backend:test :backend:integrationTest
  • ../gradlew :backend:test :backend:integrationTest -Ptestcontainers

# Conflicts:
#	backend/src/main/java/ai/giskard/config/SecurityConfiguration.java

@Getter
@MappedSuperclass
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
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.

What is the base inheritance strategy without this line?

@Inokinoki
Copy link
Copy Markdown
Member

LGTM

Should our integration tests be executed under both profiles (w/o testcontainers)?

@andreybavt
Copy link
Copy Markdown
Contributor Author

andreybavt commented Aug 29, 2023

Should our integration tests be executed under both profiles (w/o testcontainers)?

@Inokinoki , yes, at least the nightly ones should be run under both profiles since testcontainers are slower than H2.
Here's a card for it:
GSK-1643 : Run Backend tests with testcontainers profile during the nightly build

@andreybavt andreybavt merged commit 873487c into main Aug 29, 2023
@sonarqubecloud
Copy link
Copy Markdown

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 0 Code Smells

84.6% 84.6% Coverage
0.0% 0.0% Duplication

@Hartorn Hartorn deleted the bug/fix-h2-db-lob branch September 22, 2023 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants