Commit Graph

128 Commits

Author SHA1 Message Date
JianBo He ee757402ad chore(deps): upgrade esockd to 5.6.2
esockd: avoid the `ssl_close_timeout` send to channel
2020-06-04 10:37:05 +08:00
JianBo He 639d0ca25e Upgrade ekka to 0.7.3 2020-05-22 09:27:23 +08:00
zhouzb b3505c6799 Update minimum erlang/otp version 2020-04-30 16:33:53 +08:00
turtled 5f4417c193 Update rebar.config 2020-04-26 20:55:18 +08:00
JianBo He 4bb2497118 Update jiffy to 1.0.4 2020-04-12 11:38:07 +08:00
JianBo He e492260fe8 Change travis-ci to github action 2020-03-21 13:40:16 +08:00
JianBo He 3c459e8e74
Compatible jsx encode/decode (#3230) 2020-02-04 16:18:19 +08:00
Feng Lee 462e3974ad no_debug_info > debug_info 2020-01-19 19:45:46 +08:00
Feng Lee f278a07190 Upgrade emqtt and emqx-ct-helper deps
- Upgrade emqtt to v1.2.0
- Upgrade emqx-ct-helpers to v1.2.2
2020-01-19 19:31:36 +08:00
Feng Lee d8c3c86dca Upgrade esockd and ekka deps
- Upgrade esockd to 5.6.1
- Upgrade ekka to 0.7.2
2020-01-19 18:54:36 +08:00
Feng Lee 35354a3451 Change the 'override' to 'add' 2020-01-19 18:38:52 +08:00
Feng Lee cce6b462b4 Update erl_opts and add 'compressed' opt for edge 2020-01-19 18:38:52 +08:00
Feng Lee b3e2cc5a18 Replace 'jsx' with 'jiffy' to optimize json encode/decode 2020-01-19 16:58:51 +08:00
Feng Lee 635c3f75fe Improve the 'emqx_connection' module for CT 2019-12-16 11:25:47 +08:00
Feng Lee 27fec04ec9 Depends on 'emqx/cowboy' v2.8.1 2019-12-16 11:25:47 +08:00
Feng Lee adf785ac46 Upgrade deps to ekka v0.7.1 2019-11-18 11:01:30 +08:00
Feng Lee 4935ba11a8 Upgrade deps to ekka v0.7.0 and esockd v5.6.0 2019-11-18 10:40:53 +08:00
Feng Lee 480a9f9e92 Add 'minimum_otp_vsn' option 2019-11-14 20:41:48 +08:00
terry-xiaoyu 7df8d0246c Update esockd to v5.5.2 2019-11-01 18:39:46 +08:00
Feng Lee 1a5c10bd6f Depends on 'develop' branch of emqtt 2019-09-24 15:47:36 +08:00
turtleDeng de37d62054
Update rebar.config (#2877) 2019-09-06 20:42:26 +08:00
Zhiwei Yu 8710df31b2 Monitor cluster partition event (#2814) 2019-08-23 09:42:55 +08:00
Gilbert 79744af681 Wrapper proper test cases into common test cases (#2785)
* Wrapper proper test cases into common test cases

* Improve test cases for reason code module (#2789)

* Split 3 proper tests into 3 ct cases

* Improve test cases for client, rpc and request-response

* Add psk suites to increase coverage

* Add sys test cases
2019-08-16 18:07:12 +08:00
turtled dcefcd16ab Fix conflicts 2019-08-09 16:41:56 +08:00
turtled 91a8dbda56 Fix conflicts 2019-08-09 16:41:11 +08:00
GilbertWong 9268d23b92 Use ekka 0.6.0 2019-08-09 16:34:42 +08:00
Gilbert 96b341fde5
Add proper tests for base62 (#2761)
* Add proper tests for base62

* Delete useless comment
2019-08-07 09:24:03 +08:00
GilbertWong 3230c25b56 Delete replayq from emqx 2019-08-06 10:38:58 +08:00
Feng Lee 19a9e30768
Merge branch 'develop' into introduce-proper-testing-framework 2019-08-06 10:14:21 +08:00
GilbertWong 4e0aeee93d Import emqtt library into emqx for test cases 2019-08-06 09:43:10 +08:00
Feng Lee f60f127681 Improve the moudules and fix the bugs found in new test cases
- Fix the bug that emqx_mountpoint:unmount/2 will throw exception
- Add emqx_banned:info/1 for test cases
- Rename macro TRIE in emqx_trie module to TRIE_TAB
- Rename macro TRIE_NODE in emqx_trie module to TRIE_NODE_TAB
- Rename macro ROUTE in emqx_router module to ROUTE_TAB
2019-08-06 09:05:55 +08:00
terry-xiaoyu c5ff902974 Update gen_rpc to 2.4.1 2019-07-26 14:46:24 +08:00
GilbertWong 07d815b3f7 Update gen_rpc tag to 2.4.0 2019-07-23 14:45:24 +08:00
turtled 49afbdabda Update ekka tag 2019-07-19 18:03:53 +08:00
turtled caf6dab808 Support K8S hostname auto discovery cluster 2019-07-19 18:03:53 +08:00
GilbertWong c23be3e15d Update ekka tag 2019-07-11 15:41:36 +08:00
Gilbert 20188f9189 Optimize develop workflow and support make run and code hot swapping (#2644)
* Optimize develop workflow and support make run and code hot swapping
2019-06-21 20:52:27 +08:00
GilbertWong bcae452e42 Fix the flapping bug
Prior to this change, the banned until value will not be set
correctly because of wrong spell of config entry name .

This change fix this bug
2019-06-20 10:59:42 +08:00
terry-xiaoyu ebeb2c5545 Compile emqx_logger first 2019-06-18 14:37:32 +08:00
Gilbert Wong e7cd32edb7 Update esockd deps and fix compile warning 2019-05-31 15:21:59 +08:00
terry-xiaoyu e29cde60a9 Update ekka to v0.5.5 2019-05-30 18:58:37 +08:00
spring2maz ac0e637a4b Delete APPLICATION macro from erl-opts in rebar.config 2019-05-24 10:16:10 +08:00
spring2maz d0131ec663 Pin emqx-ct-helpers v1.1 (#2495)
* Pin emqx-ct-helpers v1.1.1

* Fix loaded_plugins touch command
2019-05-04 04:41:08 +08:00
spring2maz 97476b8bde Build with rebar3 (#2475)
* Pin cuttlefish rebar3 branch

* No shallow clone for rebar3

* Replace timer:sleep with receive after for deterministic

* Build with only rebar3

* bbmustache as a test dependency

* Change to plain deps

* Use shallow clone by default

* Add ct-helpers as test dep
2019-04-28 09:40:39 +08:00
Gilbert Wong 3b0f232961 Workaround for dep-vsn-check in travis-ci 2019-04-25 16:25:28 +08:00
Gilbert Wong b3927ff730 Add emqx_ct_helpers as deps and refactor test suites 2019-04-25 13:41:22 +08:00
terry-xiaoyu 8be2defb6b Update ekka to v0.5.4 2019-03-30 10:41:48 +08:00
Gilbert 2534b8dc64 Support to pass ws compressing options (#2356)
Add new config entries about websocket
2019-03-27 10:19:35 +08:00
turtleDeng b902ff3656 Update gen_rpc to v2.3.1 (#2315)
Update gen_rpc to v2.3.1
2019-03-15 10:30:14 +08:00
spring2maz 48450d1d37 Move request response out of emqx client (#2293)
* Delete response_topic_prefix

The Response-Infomation in CONNACK was misinterpreated, it should
not be a broker's global config, instead, it should be per-client
or even per-session prefix/suffix mechanism

* Delete request-response code from emqx_client

* Add request-response test code

* meck as default dependency --- temp workaround for dep-vsn-check
2019-03-13 11:27:25 +08:00