Skip to content

Commit

Permalink
fixed issue with postgres stored procedure integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
souravroy committed Jan 21, 2024
1 parent 5604be7 commit b5eabb4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class PostgreSQLContainerConfiguration {
public DataSource dataSource() {
var dataSourceBuilder = DataSourceBuilder.create();
dataSourceBuilder.driverClassName("org.postgresql.Driver");
dataSourceBuilder.url(testPostgres.getJdbcUrl());
dataSourceBuilder.url(testPostgres.getJdbcUrl() + "&escapeSyntaxCallMode=callIfNoReturn");
dataSourceBuilder.username(testPostgres.getUsername());
dataSourceBuilder.password(testPostgres.getPassword());
return dataSourceBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
class PgProcedureControllerTest extends PostgreSQLBaseIntegrationTest {

@Test
@Disabled //TODO - Need to fix
@DisplayName("Execute stored procedure on postgres db")
void execute() throws Exception {
var json = """
Expand Down

0 comments on commit b5eabb4

Please sign in to comment.