dbops
dbops copied to clipboard
Oracle tests hang when query timeout is reached
$content = '
DECLARE
in_time number := 3;
BEGIN
DBMS_LOCK.sleep(in_time);
END;'
$file = Join-PSFPath -Normalize "$workFolder\delay.sql"
$content | Set-Content $file
$null = Install-DBOSqlScript -ScriptPath "$workFolder\delay.sql" @connParams -ExecutionTimeout 2