Skip to content

Commit df940d3

Browse files
VladoKurucbeikov
authored andcommitted
Informix run fix
1 parent c08b1b9 commit df940d3

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

README.adoc

+4
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,10 @@ The following table illustrates a list of commands for various databases that ca
206206
|TiDB
207207
|`./docker_db.sh tidb`
208208
|`./gradlew test -Pdb=tidb`
209+
210+
|Informix
211+
|`./docker_db.sh informix`
212+
|`./gradlew test -Pdb=informix`
209213
|===
210214

211215
To stop a container started by `docker`, use the command

docker_db.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,7 @@ informix_14_10() {
967967
echo "Waiting for Informix to start..."
968968
sleep 30
969969
done
970-
if [ "$n" -ge 5 ]; then
970+
if [ "$n" -ge 10 ]; then
971971
echo "Informix failed to start and configure after 5 minutes"
972972
else
973973
echo "Informix successfully started"
@@ -991,7 +991,7 @@ informix_12_10() {
991991
echo "Waiting for Informix to start..."
992992
sleep 30
993993
done
994-
if [ "$n" -ge 5 ]; then
994+
if [ "$n" -ge 10 ]; then
995995
echo "Informix failed to start and configure after 5 minutes"
996996
else
997997
echo "Informix successfully started"

gradle/databases.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ ext {
295295
'jdbc.driver': 'com.informix.jdbc.IfxDriver',
296296
'jdbc.user' : 'informix',
297297
'jdbc.pass' : 'in4mix',
298-
'jdbc.url' : 'jdbc:informix-sqli://' + dbHost + ':9088/sysuser:INFORMIXSERVER=dev;user=informix;password=in4mix',
298+
'jdbc.url' : 'jdbc:informix-sqli://' + dbHost + ':9088/sysuser:INFORMIXSERVER=informix;user=informix;password=in4mix;DELIMIDENT=Y',
299299
'jdbc.datasource' : 'com.informix.jdbc.IfxDriver',
300300
// 'jdbc.datasource' : 'com.informix.jdbcx.IfxDataSource',
301301
'connection.init_sql' : ''

0 commit comments

Comments
 (0)