Skip to content

Commit

Permalink
Merge pull request #1164 from michalvavrik/feature/enable-pg-oc-test
Browse files Browse the repository at this point in the history
Enable PG service binding tests as upstream issue is fixed
  • Loading branch information
mjurc authored Apr 21, 2023
2 parents 42b2043 + 9084d69 commit 8b702fe
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
quarkus.kubernetes-service-binding.services.postgresql.api-version=postgres-operator.crunchydata.com/v1beta1
quarkus.kubernetes-service-binding.services.postgresql.kind=PostgresCluster
quarkus.kubernetes-service-binding.services.postgresql.name=hippo
quarkus.kubernetes-service-binding.services.postgresql.name=postgresql

quarkus.datasource.db-kind=postgresql
quarkus.hibernate-orm.database.generation=drop-and-create
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
INSERT INTO todo(id, title, completed) VALUES (nextval('hibernate_sequence'), 'Finish the blog post', false);
INSERT INTO todo(id, title, completed) VALUES (nextval('todo_seq'), 'Finish the blog post', false);
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Assumptions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

import io.quarkus.test.bootstrap.RestService;
Expand All @@ -22,7 +21,6 @@
import io.quarkus.test.utils.Command;

@OpenShiftScenario(deployment = OpenShiftDeploymentStrategy.UsingOpenShiftExtensionAndDockerBuildStrategy)
@Disabled("https://github.com/quarkusio/quarkus/issues/30682")
public class OpenShiftPostgreSqlSbIT {

@Inject
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: postgres-operator.crunchydata.com/v1beta1
kind: PostgresCluster
metadata:
name: hippo
name: postgresql
spec:
openshift: true
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-14.2-1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
quarkus.kubernetes-service-binding.services.postgresql.api-version=postgres-operator.crunchydata.com/v1beta1
quarkus.kubernetes-service-binding.services.postgresql.kind=PostgresCluster
quarkus.kubernetes-service-binding.services.postgresql.name=hippo
quarkus.kubernetes-service-binding.services.postgresql.name=postgresql

quarkus.datasource.db-kind=postgresql
quarkus.hibernate-orm.database.generation=drop-and-create
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
INSERT INTO todo(id, title, completed) VALUES (nextval('hibernate_sequence'), 'Finish the blog post', false);
INSERT INTO todo(id, title, completed) VALUES (nextval('todo_seq'), 'Finish the blog post', false);
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Assumptions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

import io.quarkus.test.bootstrap.RestService;
Expand All @@ -23,7 +22,6 @@
import io.quarkus.test.utils.Command;

@OpenShiftScenario(deployment = OpenShiftDeploymentStrategy.UsingOpenShiftExtensionAndDockerBuildStrategy)
@Disabled("https://github.com/quarkusio/quarkus/issues/30682")
public class OpenShiftPostgreSqlReactiveSbIT {

private static final String PG_CLUSTER_YML = "pg-cluster.yml";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: postgres-operator.crunchydata.com/v1beta1
kind: PostgresCluster
metadata:
name: hippo
name: postgresql
spec:
openshift: true
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-14.2-1
Expand Down

0 comments on commit 8b702fe

Please sign in to comment.