File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/main/java/org/utplsql/cli Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,11 @@ public class RunCommand implements ICommand {
112
112
description = "Outputs a load of debug information to console" )
113
113
private boolean logDebug = false ;
114
114
115
+ @ Parameter (
116
+ names = {"-t" , "--timeout" },
117
+ description = "Sets the timeout in minutes after which the cli will abort. Default 60" )
118
+ private int timeoutInMinutes = 60 ;
119
+
115
120
private CompatibilityProxy compatibilityProxy ;
116
121
private ReporterFactory reporterFactory ;
117
122
private ReporterManager reporterManager ;
@@ -216,7 +221,7 @@ public int run() {
216
221
getReporterManager ().startReporterGatherers (executorService , dataSource , returnCode );
217
222
218
223
executorService .shutdown ();
219
- executorService .awaitTermination (60 , TimeUnit .MINUTES );
224
+ executorService .awaitTermination (timeoutInMinutes , TimeUnit .MINUTES );
220
225
221
226
logger .info ("--------------------------------------" );
222
227
logger .info ("All tests done." );
You can’t perform that action at this time.
0 commit comments