@@ -87,10 +87,11 @@ function shellApiClient (options) {
87
87
// we want this to ensure that in an overload situation we do not
88
88
// get random failedLeader / failedFollower jobs during our tests.
89
89
let moreOptions = { "agency.supervision-ok-threshold" : "15" , "agency.supervision-grace-period" : "30" } ;
90
- let rc = tu . performTests ( opts , testCases , 'shell_api' , tu . runInLocalArangosh , moreOptions ) ;
90
+ let rc = new tu . runLocalInArangoshRunner ( opts , 'shell_api' , moreOptions ) . run ( testCases ) ;
91
91
options . cleanup = options . cleanup && opts . cleanup ;
92
92
return rc ;
93
93
}
94
+
94
95
// //////////////////////////////////////////////////////////////////////////////
95
96
// / @brief TEST: shell_client
96
97
// //////////////////////////////////////////////////////////////////////////////
@@ -108,7 +109,7 @@ function shellClient (options) {
108
109
// we want this to ensure that in an overload situation we do not
109
110
// get random failedLeader / failedFollower jobs during our tests.
110
111
let moreOptions = { "agency.supervision-ok-threshold" : "15" , "agency.supervision-grace-period" : "30" } ;
111
- let rc = tu . performTests ( opts , testCases , 'shell_client' , tu . runInLocalArangosh , moreOptions ) ;
112
+ let rc = new tu . runLocalInArangoshRunner ( opts , 'shell_client' , moreOptions ) . run ( testCases ) ;
112
113
options . cleanup = options . cleanup && opts . cleanup ;
113
114
return rc ;
114
115
}
@@ -125,7 +126,7 @@ function shellServer (options) {
125
126
testCases = tu . splitBuckets ( options , testCases ) ;
126
127
127
128
let opts = ensureServers ( options , 3 ) ;
128
- let rc = tu . performTests ( opts , testCases , 'shell_server' , tu . runThere ) ;
129
+ let rc = new tu . runOnArangodRunner ( opts , 'shell_server' , { } ) . run ( testCases ) ;
129
130
options . cleanup = options . cleanup && opts . cleanup ;
130
131
return rc ;
131
132
}
@@ -140,7 +141,7 @@ function shellServerOnly (options) {
140
141
testCases = tu . splitBuckets ( options , testCases ) ;
141
142
142
143
let opts = ensureServers ( options , 3 ) ;
143
- let rc = tu . performTests ( opts , testCases , 'shell_server_only' , tu . runThere ) ;
144
+ let rc = new tu . runOnArangodRunner ( opts , 'shell_server_only' , { } ) . run ( testCases ) ;
144
145
options . cleanup = options . cleanup && opts . cleanup ;
145
146
return rc ;
146
147
}
@@ -164,7 +165,7 @@ function shellServerAql (options) {
164
165
testCases = tu . splitBuckets ( options , testCases ) ;
165
166
166
167
let opts = ensureServers ( options , 3 ) ;
167
- let rc = tu . performTests ( opts , testCases , name , tu . runThere ) ;
168
+ let rc = new tu . runOnArangodRunner ( opts , name , { } ) . run ( testCases ) ;
168
169
options . cleanup = options . cleanup && opts . cleanup ;
169
170
return rc ;
170
171
}
@@ -196,7 +197,7 @@ function shellClientAql (options) {
196
197
testCases = tu . splitBuckets ( options , testCases ) ;
197
198
198
199
let opts = ensureServers ( options , 3 ) ;
199
- let rc = tu . performTests ( opts , testCases , name , tu . runInLocalArangosh ) ;
200
+ let rc = new tu . runLocalInArangoshRunner ( opts , name , { } ) . run ( testCases ) ;
200
201
options . cleanup = options . cleanup && opts . cleanup ;
201
202
return rc ;
202
203
}
0 commit comments