File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
.github/workflows/docker-test-oracle-connection Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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 }}
You can’t perform that action at this time.
0 commit comments