File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
src/test/java/org/tarantool Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ public void run() {
184
184
/**
185
185
* Wait until the instance will be started.
186
186
*
187
- * Use tarantoolctl status instance_name .
187
+ * Use tarantoolctl status instanceName .
188
188
*
189
189
* Then test connection using text console (TarantoolTcpConsole) to ensure
190
190
* the instance was entirely started or fallback to binary port
@@ -208,7 +208,7 @@ public void waitStarted(String instanceName) {
208
208
/**
209
209
* Wait until the instance will be stopped.
210
210
*
211
- * Use tarantoolctl status instance_name .
211
+ * Use tarantoolctl status instanceName .
212
212
*/
213
213
public void waitStopped (String instanceName ) {
214
214
while (status (instanceName ) != 1 )
@@ -224,9 +224,13 @@ public void stop(String instanceName) {
224
224
}
225
225
226
226
/**
227
- * 0 -- started;
228
- * 1 -- stopped;
229
- * 2 -- pid file exists, control socket inaccessible.
227
+ * Wrapper for `tarantoolctl status instanceName`.
228
+ *
229
+ * Return exit code of the command:
230
+ *
231
+ * * 0 -- started;
232
+ * * 1 -- stopped;
233
+ * * 2 -- pid file exists, control socket inaccessible.
230
234
*/
231
235
public int status (String instanceName ) {
232
236
try {
You can’t perform that action at this time.
0 commit comments