fix test code

This commit is contained in:
heavyrian2012
2022-01-29 11:47:19 +08:00
parent 57e8814d9c
commit 1170c4209b
@@ -860,6 +860,7 @@ public class Main {
System.exit(-1);
}
Thread.sleep(1000);
getChatroomInfoIMResult = ChatroomAdmin.getChatroomInfo(chatroomId);
if (getChatroomInfoIMResult != null && getChatroomInfoIMResult.getErrorCode() == ErrorCode.ERROR_CODE_SUCCESS && getChatroomInfoIMResult.getResult().getState() == ProtoConstants.ChatroomState.Chatroom_State_End) {
System.out.println("chatroom destroyed!");