@@ -23,9 +23,10 @@ public class RunCommandConfig extends ConnectionConfig {
2323 private final Integer randomTestOrderSeed ;
2424 private final String [] tags ;
2525 private final String [] coverageSchemes ;
26+ private final Integer oraStuckTimeout ;
2627
27- @ ConstructorProperties ({"connectString" , "suitePaths" , "reporters" , "outputAnsiColor" , "failureExitCode" , "skipCompatibilityCheck" , "includePackages" , "excludePackages" , "sourceMapping" , "testMapping" , "logConfigLevel" , "timeoutInMinutes" , "dbmsOutput" , "randomTestOrder" , "randomTestOrderSeed" , "tags" , "coverageSchemes" })
28- public RunCommandConfig (String connectString , String [] suitePaths , ReporterConfig [] reporters , boolean outputAnsiColor , Integer failureExitCode , boolean skipCompatibilityCheck , String [] includePackages , String [] excludePackages , FileMapperConfig sourceMapping , FileMapperConfig testMapping , ConfigLevel logConfigLevel , Integer timeoutInMinutes , boolean dbmsOutput , boolean randomTestOrder , Integer randomTestOrderSeed , String [] tags , String [] coverageSchemes ) {
28+ @ ConstructorProperties ({"connectString" , "suitePaths" , "reporters" , "outputAnsiColor" , "failureExitCode" , "skipCompatibilityCheck" , "includePackages" , "excludePackages" , "sourceMapping" , "testMapping" , "logConfigLevel" , "timeoutInMinutes" , "dbmsOutput" , "randomTestOrder" , "randomTestOrderSeed" , "tags" , "coverageSchemes" , "oraStuckTimeout" })
29+ public RunCommandConfig (String connectString , String [] suitePaths , ReporterConfig [] reporters , boolean outputAnsiColor , Integer failureExitCode , boolean skipCompatibilityCheck , String [] includePackages , String [] excludePackages , FileMapperConfig sourceMapping , FileMapperConfig testMapping , ConfigLevel logConfigLevel , Integer timeoutInMinutes , boolean dbmsOutput , boolean randomTestOrder , Integer randomTestOrderSeed , String [] tags , String [] coverageSchemes , Integer oraStuckTimeout ) {
2930 super (connectString );
3031 this .suitePaths = suitePaths ;
3132 this .reporters = reporters ;
@@ -43,6 +44,7 @@ public RunCommandConfig(String connectString, String[] suitePaths, ReporterConfi
4344 this .randomTestOrderSeed = randomTestOrderSeed ;
4445 this .tags = tags ;
4546 this .coverageSchemes = coverageSchemes ;
47+ this .oraStuckTimeout = oraStuckTimeout ;
4648 }
4749
4850 public String [] getSuitePaths () {
@@ -109,6 +111,8 @@ public String[] getCoverageSchemes() {
109111 return coverageSchemes ;
110112 }
111113
114+ public Integer getOraStuckTimeout () { return oraStuckTimeout ; }
115+
112116 public static class Builder {
113117
114118 private String connectString ;
@@ -128,6 +132,7 @@ public static class Builder {
128132 private Integer randomTestOrderSeed ;
129133 private String [] tags = new String [0 ];
130134 private String [] coverageSchemes = new String [0 ];
135+ private Integer oraStuckTimeout ;
131136
132137 public Builder connectString (String connectString ) {
133138 this .connectString = connectString ;
@@ -214,8 +219,13 @@ public Builder coverageSchemes(String[] coverageSchemes) {
214219 return this ;
215220 }
216221
222+ public Builder oraStuckTimeout (Integer oraStuckTimeout ) {
223+ this .oraStuckTimeout = oraStuckTimeout ;
224+ return this ;
225+ }
226+
217227 public RunCommandConfig create () {
218- return new RunCommandConfig (connectString , suitePaths , reporters , outputAnsiColor , failureExitCode , skipCompatibilityCheck , includePackages , excludePackages , sourceMapping , testMapping , logConfigLevel , timeoutInMinutes , dbmsOutput , randomTestOrder , randomTestOrderSeed , tags , coverageSchemes );
228+ return new RunCommandConfig (connectString , suitePaths , reporters , outputAnsiColor , failureExitCode , skipCompatibilityCheck , includePackages , excludePackages , sourceMapping , testMapping , logConfigLevel , timeoutInMinutes , dbmsOutput , randomTestOrder , randomTestOrderSeed , tags , coverageSchemes , oraStuckTimeout );
219229 }
220230 }
221231}
0 commit comments