@@ -23,10 +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 boolean catchOraStuck ;
26+ private final Integer oraStuckTimeout ;
2727
28- @ ConstructorProperties ({"connectString" , "suitePaths" , "reporters" , "outputAnsiColor" , "failureExitCode" , "skipCompatibilityCheck" , "includePackages" , "excludePackages" , "sourceMapping" , "testMapping" , "logConfigLevel" , "timeoutInMinutes" , "dbmsOutput" , "randomTestOrder" , "randomTestOrderSeed" , "tags" , "coverageSchemes" , "catchOraStuck " })
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 , boolean catchOraStuck ) {
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 ) {
3030 super (connectString );
3131 this .suitePaths = suitePaths ;
3232 this .reporters = reporters ;
@@ -44,7 +44,7 @@ public RunCommandConfig(String connectString, String[] suitePaths, ReporterConfi
4444 this .randomTestOrderSeed = randomTestOrderSeed ;
4545 this .tags = tags ;
4646 this .coverageSchemes = coverageSchemes ;
47- this .catchOraStuck = catchOraStuck ;
47+ this .oraStuckTimeout = oraStuckTimeout ;
4848 }
4949
5050 public String [] getSuitePaths () {
@@ -111,7 +111,7 @@ public String[] getCoverageSchemes() {
111111 return coverageSchemes ;
112112 }
113113
114- public boolean isCatchOraStuck () { return catchOraStuck ; }
114+ public Integer getOraStuckTimeout () { return oraStuckTimeout ; }
115115
116116 public static class Builder {
117117
@@ -132,7 +132,7 @@ public static class Builder {
132132 private Integer randomTestOrderSeed ;
133133 private String [] tags = new String [0 ];
134134 private String [] coverageSchemes = new String [0 ];
135- private boolean catchOraStuck ;
135+ private Integer oraStuckTimeout ;
136136
137137 public Builder connectString (String connectString ) {
138138 this .connectString = connectString ;
@@ -219,13 +219,13 @@ public Builder coverageSchemes(String[] coverageSchemes) {
219219 return this ;
220220 }
221221
222- public Builder catchOraStuck ( boolean catchOraStuck ) {
223- this .catchOraStuck = catchOraStuck ;
222+ public Builder oraStuckTimeout ( Integer oraStuckTimeout ) {
223+ this .oraStuckTimeout = oraStuckTimeout ;
224224 return this ;
225225 }
226226
227227 public RunCommandConfig create () {
228- return new RunCommandConfig (connectString , suitePaths , reporters , outputAnsiColor , failureExitCode , skipCompatibilityCheck , includePackages , excludePackages , sourceMapping , testMapping , logConfigLevel , timeoutInMinutes , dbmsOutput , randomTestOrder , randomTestOrderSeed , tags , coverageSchemes , catchOraStuck );
228+ return new RunCommandConfig (connectString , suitePaths , reporters , outputAnsiColor , failureExitCode , skipCompatibilityCheck , includePackages , excludePackages , sourceMapping , testMapping , logConfigLevel , timeoutInMinutes , dbmsOutput , randomTestOrder , randomTestOrderSeed , tags , coverageSchemes , oraStuckTimeout );
229229 }
230230 }
231231}
0 commit comments