Skip to content

Commit 6c4f17f

Browse files
committed
Test Oracle connection
1 parent d3dfde6 commit 6c4f17f

File tree

1 file changed

+3
-3
lines changed
  • .github/workflows/docker-test-oracle-connection

1 file changed

+3
-3
lines changed

.github/workflows/docker-test-oracle-connection/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ runs:
1212
- name: Docker Test Oracle Connection
1313
shell: pwsh
1414
run: |
15-
# Script (Oracle Login Wait)
15+
# Script (Test Oracle Connection)
1616
$containerName = "oracle-db"
1717
$username = "sys"
1818
$password = $ORACLE_PWD
@@ -35,12 +35,12 @@ runs:
3535
}
3636
3737
for ($i = 1; $i -le $retryCount; $i++) {
38-
Write-Host "Attempt $i: Trying to connect to Oracle DB in container..."
38+
Write-Host "Attempt $($i): Trying to connect to Oracle DB in container..."
3939
if (Test-OracleConnection) {
4040
Write-Host "Connection successful!"
4141
break
4242
} else {
43-
Write-Host "Connection failed. Waiting for $waitTime seconds before retrying..."
43+
Write-Host "Connection failed. Waiting for $($waitTime) seconds before retrying..."
4444
Start-Sleep -Seconds $waitTime
4545
env:
4646
ORACLE_PWD: ${{ inputs.dbPassword }}

0 commit comments

Comments
 (0)