@@ -23,9 +23,10 @@ public class RunCommandConfig extends ConnectionConfig {
23
23
private final Integer randomTestOrderSeed ;
24
24
private final String [] tags ;
25
25
private final String [] coverageSchemes ;
26
+ private final Integer oraStuckTimeout ;
26
27
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 ) {
29
30
super (connectString );
30
31
this .suitePaths = suitePaths ;
31
32
this .reporters = reporters ;
@@ -43,6 +44,7 @@ public RunCommandConfig(String connectString, String[] suitePaths, ReporterConfi
43
44
this .randomTestOrderSeed = randomTestOrderSeed ;
44
45
this .tags = tags ;
45
46
this .coverageSchemes = coverageSchemes ;
47
+ this .oraStuckTimeout = oraStuckTimeout ;
46
48
}
47
49
48
50
public String [] getSuitePaths () {
@@ -109,6 +111,8 @@ public String[] getCoverageSchemes() {
109
111
return coverageSchemes ;
110
112
}
111
113
114
+ public Integer getOraStuckTimeout () { return oraStuckTimeout ; }
115
+
112
116
public static class Builder {
113
117
114
118
private String connectString ;
@@ -128,6 +132,7 @@ public static class Builder {
128
132
private Integer randomTestOrderSeed ;
129
133
private String [] tags = new String [0 ];
130
134
private String [] coverageSchemes = new String [0 ];
135
+ private Integer oraStuckTimeout ;
131
136
132
137
public Builder connectString (String connectString ) {
133
138
this .connectString = connectString ;
@@ -214,8 +219,13 @@ public Builder coverageSchemes(String[] coverageSchemes) {
214
219
return this ;
215
220
}
216
221
222
+ public Builder oraStuckTimeout (Integer oraStuckTimeout ) {
223
+ this .oraStuckTimeout = oraStuckTimeout ;
224
+ return this ;
225
+ }
226
+
217
227
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 );
219
229
}
220
230
}
221
231
}
0 commit comments