Skip to content

Commit 6816136

Browse files
committed
Use CONNECT and SELECT commands
1 parent d02d8f7 commit 6816136

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,11 +539,11 @@ jobs:
539539
DBNAME: "doctrine"
540540

541541
options: >-
542-
--privileged=true
543-
--health-cmd "su - db2inst1 -c \"grep -q 'Program db2icrt_local completed successfully.' ~db2inst1/sqllib/log/instance.log\""
542+
--health-cmd "su -p - db2inst1 -c 'db2 -t \"CONNECT TO ${DBNAME};\" >nul && db2 -t \"SELECT 1 FROM sysibm.sysdummy1;\" >nul'"
544543
--health-interval 20s
545544
--health-timeout 10s
546545
--health-retries 10
546+
--privileged
547547
548548
ports:
549549
- "50000:50000"

0 commit comments

Comments
 (0)