Commit Graph

3735 Commits

Author SHA1 Message Date
Feng Lee
f2b552e29e Ensure stats timer 2019-08-19 09:43:58 +08:00
Feng Lee
ae33b6037e Fix the test suites. 2019-08-17 14:39:04 +08:00
Feng Lee
52b2f31ced Merge branch 'improve-channel-design-again' into develop 2019-08-17 14:09:26 +08:00
Feng Lee
f26505d40a Implement session takeover and resumption.
- Implement session takeover
- Remove `init_proc_mng_policy/1' from emqx_misc module
- Remove `conn_proc_mng_policy/1' from emqx_misc module
- Add `emqx_oom' module to monitor OOM of channel process
2019-08-17 13:37:48 +08:00
tigercl
c1fd5f89f1 Make codes compliance with mqtt protocol specifications (#2790)
* Make codes compliance with mqtt protocol specifications

* Fix test case

* Remove emqx_protocol:puback/4
2019-08-17 09:15:43 +08:00
tigercl
2e26cd244a Improve test coverage (#2799)
* Improve test coverage

* Improve test coverage for emqx_cm

* Improve test coverage for emqx_cm_registry

* Fix emqx_client_SUITE
2019-08-16 18:25:49 +08:00
Feng Lee
d63eccd8b8 Add test cases for emqx_keepalive module (#2784)
* Improve the keepalive module
2019-08-16 18:24:39 +08:00
JianBo He
acf54509f5 Add emqx_plugins module test case (#2801) 2019-08-16 18:21:51 +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
JianBo He
8e401968f2 Add testcase for emqx_mod_sup 2019-08-16 17:48:37 +08:00
Shawn
b2ddcb26e2
Testcase logf (#2800)
* Add test cases for logger formatter

* Remove the unregister API
2019-08-16 15:11:38 +08:00
Feng Lee
444972968f Improve emqx_mqtt_props module and add test cases 2019-08-12 14:29:38 +08:00
CrazyWisdom
f615f74791 fix(README): update docs url 2019-08-10 18:40:50 +08:00
周子博
c2cd43ee18 Fix attrs 2019-08-10 00:37:45 +08:00
terry-xiaoyu
0c24bfd78c Make emqx_tracer more reliable 2019-08-09 19:59:39 +08:00
周子博
07fcc152e2 Fix test cases 2019-08-09 19:56:42 +08:00
周子博
f6d6f7f04d Fix test case 2019-08-09 19:45:43 +08:00
terry-xiaoyu
77616f4721 Add hook client.disconnected 2019-08-09 19:25:14 +08:00
terry-xiaoyu
a19777c2e6 Add hook message.acked 2019-08-09 19:12:56 +08:00
turtled
a93f8c6788 Fix auth fail 2019-08-09 17:37:55 +08:00
turtled
31cc446818 Mountpoint support %c and %u 2019-08-09 16:54:49 +08:00
GilbertWong
b5aebb19b9 Fix stats test cases 2019-08-09 16:51:28 +08:00
GilbertWong
26cfc20867 Run test via common test 2019-08-09 16:43:54 +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
tigercl
73af0e40bf
Update readme to support badges (#2764)
Add README-CN.md and badges
2019-08-09 16:16:54 +08:00
周子博
d8bcb1b26f Don't check cpu util on Alpine that uses libc-musl 2019-08-09 16:10:30 +08:00
GilbertWong
6e0a269ff6 Wrap os:type for cpu:sup call 2019-08-09 16:04:38 +08:00
Feng Lee
439c481e35 Remove the trap_exit process_flag (#2737) 2019-08-09 16:02:50 +08:00
Shawn
68bf72ce04 Fix crashes when auth failed (#2736) 2019-08-09 16:02:04 +08:00
GilbertWong
ddc25be915 Rename node.proto_dist to cluster.proto_dist 2019-08-09 15:56:33 +08:00
GilbertWong
4a70cf0e9f Support ekka without epmd 2019-08-09 15:56:33 +08:00
terry-xiaoyu
cca725db5f Add specs for emqx_logger 2019-08-09 15:47:20 +08:00
terry-xiaoyu
2fcda7d891 Dirty update testcases for shared_sub 2019-08-09 15:44:29 +08:00
GilbertWong
857b3df93d Fix the test cases of websocket channel 2019-08-09 15:30:00 +08:00
Feng Lee
3032731a2d Publish will msg when abnormal terminate 2019-08-09 15:28:47 +08:00
Feng Lee
03744ead30 Ensure the 'CONNACK' and 'DISCONNECT' packets delivered. 2019-08-09 15:09:17 +08:00
Feng Lee
52a85d9bb9 Export name/1 2019-08-09 15:09:17 +08:00
Feng Lee
a324965240 Add more test cases for emqx_protocol module 2019-08-09 14:29:49 +08:00
周子博
85c33ce81f Fix test cases 2019-08-09 14:24:05 +08:00
GilbertWong
251f1a7174 Disable flapping test cases 2019-08-09 14:16:50 +08:00
Gilbert
abb4b07665
Add session proper test cases (#2768)
* Add session proper test cases
* Remove useless mockers
2019-08-09 14:15:34 +08:00
GilbertWong
61ee889113 Fix client bug 2019-08-09 13:40:07 +08:00
Feng Lee
84e3590b03
Merge pull request #2769 from emqx/add-test-cases-for-emqx-protocol
Add test cases for emqx_protocol module
2019-08-09 11:38:37 +08:00
Feng Lee
9b98b43431
Merge branch 'develop' into add-test-cases-for-emqx-protocol 2019-08-09 11:38:16 +08:00
Feng Lee
916afc1c74 Add test cases for emqx_protocol module
- Add emqx_session:info/2 for unit tests
- Add emqx_protocol:set/3 for unit tests
- Fix the `check_sub/3` of emqx_mqtt_caps
2019-08-09 11:33:52 +08:00
周子博
22f4e0ecd6 Fix subscribe failed 2019-08-09 11:26:40 +08:00
Feng Lee
a2d5b834da Improve emqx_pmon module and add more test cases 2019-08-08 22:42:45 +08:00
Feng Lee
6513a32d37
Merge pull request #2766 from emqx/improve-mqtt-caps-module
Improve mqtt caps module
2019-08-08 22:35:32 +08:00