Skip to content

Commit

Permalink
remove zk test tool and fix check_all (#354)
Browse files Browse the repository at this point in the history
* update component check

* update component check

* update component check

* update component check

* update component check

* update component check

* update component check

* update component check
  • Loading branch information
AndrewZuo01 authored Dec 26, 2023
1 parent 0865b3f commit 83864e3
Show file tree
Hide file tree
Showing 66 changed files with 5 additions and 6,264 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/scripts-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
-e MYSQL_ROOT_PASSWORD="openIM123" \
--restart always \
mysql:5.7
sleep 30;
sleep 60;
- name: start all services
run: |
sudo make init && \
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ require (

require (
github.com/OpenIMSDK/protocol v0.0.21
github.com/OpenIMSDK/tools v0.0.21
github.com/OpenIMSDK/tools v0.0.22
github.com/go-zookeeper/zk v1.0.3
github.com/redis/go-redis/v9 v9.1.0
github.com/xuri/excelize/v2 v2.8.0
Expand Down Expand Up @@ -98,5 +98,3 @@ require (
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
)

replace github.com/OpenIMSDK/tools v0.0.21 => ./zktools
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ github.com/OpenIMSDK/open_utils v1.0.8 h1:IopxWgJwEF5ZAPsRuiZZOfcxNOQOCt/p8VDENc
github.com/OpenIMSDK/open_utils v1.0.8/go.mod h1:FLoaQblWUVKQgqt2LrNzfSZLT6D3DICBn1kcOMDLUOI=
github.com/OpenIMSDK/protocol v0.0.21 h1:5H6H+hJ9d/VgRqttvxD/zfK9Asd+4M8Eknk5swSbUVY=
github.com/OpenIMSDK/protocol v0.0.21/go.mod h1:F25dFrwrIx3lkNoiuf6FkCfxuwf8L4Z8UIsdTHP/r0Y=
github.com/OpenIMSDK/tools v0.0.22 h1:gjcqA+lWjvF2NRX9R4c9gLfFOI/bwVctT14bs1U3HpU=
github.com/OpenIMSDK/tools v0.0.22/go.mod h1:eg+q4A34Qmu73xkY0mt37FHGMCMfC6CtmOnm0kFEGFI=
github.com/alibabacloud-go/alibabacloud-gateway-spi v0.0.4 h1:iC9YFYKDGEy3n/FtqJnOkZsene9olVspKmkX5A2YBEo=
github.com/alibabacloud-go/alibabacloud-gateway-spi v0.0.4/go.mod h1:sCavSAvdzOjul4cEqeVtvlSaSScfNsTQ+46HwlTL1hc=
github.com/alibabacloud-go/darabonba-openapi v0.1.18/go.mod h1:PB4HffMhJVmAgNKNq3wYbTUlFvPgxJpTzd1F5pTuUsc=
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ service_port_name=(
openImAdminPort
openImChatPort
)

sleep 10
switch=$(cat $config_path | grep demoswitch |awk -F '[:]' '{print $NF}')
for i in ${service_port_name[*]}; do
case $i in
Expand Down
22 changes: 0 additions & 22 deletions zktools/.gitignore

This file was deleted.

201 changes: 0 additions & 201 deletions zktools/LICENSE

This file was deleted.

1 change: 0 additions & 1 deletion zktools/README.md

This file was deleted.

51 changes: 0 additions & 51 deletions zktools/a2r/api2rpc.go

This file was deleted.

19 changes: 0 additions & 19 deletions zktools/apiresp/format.go

This file was deleted.

29 changes: 0 additions & 29 deletions zktools/apiresp/gin.go

This file was deleted.

Loading

0 comments on commit 83864e3

Please sign in to comment.