Skip to content

Commit ba8e9b9

Browse files
committed
Use rabbitmqctl start_app/stop_app and not eval
(cherry picked from commit 8394418)
1 parent 3646e36 commit ba8e9b9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/test/java/com/rabbitmq/client/test/ssl/HostnameVerification.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public static void initCrypto() throws Exception {
8989
assertNotNull(p12Path);
9090
String p12Passwd = System.getProperty("test-client-cert.password");
9191
assertNotNull(p12Passwd);
92+
System.out.println(p12Passwd);
9293
KeyStore ks = KeyStore.getInstance("PKCS12");
9394
char[] p12Password = p12Passwd.toCharArray();
9495
ks.load(new FileInputStream(p12Path), p12Password);

src/test/java/com/rabbitmq/tools/Host.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,12 @@ public static Process invokeMakeTarget(String command) throws IOException {
132132
}
133133

134134
public static void startRabbitOnNode() throws IOException {
135-
rabbitmqctl("eval 'rabbit:start().'");
135+
rabbitmqctl("start_app");
136136
tryConnectFor(10_000);
137137
}
138138

139139
public static void stopRabbitOnNode() throws IOException {
140-
rabbitmqctl("eval 'rabbit:stop().'");
140+
rabbitmqctl("stop_app");
141141
}
142142

143143
public static void tryConnectFor(int timeoutInMs) throws IOException {

0 commit comments

Comments
 (0)