Commit Graph

482 Commits

Author SHA1 Message Date
Feng Lee
4c9dda105f Add 'active_n' option for WebSocket listener 2019-11-01 08:00:11 +08:00
Feng Lee
d5412c8d34 Merge branch 'gen-ct' into develop 2019-10-23 16:36:17 +08:00
Feng Lee
7be110cdef Add more test cases 2019-10-23 16:35:15 +08:00
terry-xiaoyu
9aef5d60e0 Fix testcase for logger_formatter 2019-10-23 10:26:25 +08:00
Feng Lee
fca7a7e761 Merge branch 'connection-test-using-meck' into develop 2019-10-21 19:53:53 +08:00
terry-xiaoyu
cb77b229b8 Add testcase for emqx_logger_formatter 2019-10-21 18:35:32 +08:00
Feng Lee
7117dde879 Add more test cases for connection, channel and session modules 2019-10-21 17:14:50 +08:00
Feng Lee
26eab630b3 Add test cases for emqx_channel module 2019-10-20 19:20:38 +08:00
Feng Lee
aecda09b9a Add more test cases 2019-10-19 20:18:34 +08:00
Feng Lee
cd4adbada0 Add more test cases for connection, channel and session modules 2019-10-18 18:53:31 +08:00
Feng Lee
a09b87fc94 Add more test cases for connecton module using meck 2019-10-15 17:28:20 +08:00
Feng Lee
a1877f3f42 Return the '{enter, connected}' event first 2019-10-14 13:04:49 +08:00
Feng Lee
6233aa7d46 Ensure the 'conn_state' be 'disconnected' after socket closed 2019-10-12 19:14:33 +08:00
terry-xiaoyu
7f730ffec6 Revert client_id options in the testcases 2019-10-12 18:05:34 +08:00
Feng Lee
932821360f Merge branch 'new-connection-module' into develop 2019-10-12 17:08:48 +08:00
Feng Lee
cce0dbd3cf Improve the connection, ws_connection and channel modules 2019-10-12 17:05:37 +08:00
terry-xiaoyu
54e11d3bb5 Fix client_id options in testcases 2019-10-12 15:10:49 +08:00
terry-xiaoyu
47a192ee34 Avoid process crash report for arbitrary exit reason 2019-10-12 14:48:39 +08:00
zhouzb
d004a5b68e Rename 'client_id' field to 'clientid' 2019-09-29 16:46:27 +08:00
Feng Lee
e8491b69a9 Merge branch 'clientinfo' into develop 2019-09-29 11:00:24 +08:00
Feng Lee
977b551bbf Fix the test cases for session, channel and connection modules 2019-09-29 10:53:59 +08:00
Feng Lee
8ab682151d Improve the connection and channel modules
- Rename the 'client_id' field to 'clientid'
- Support publish stats in channel module
- Update test cases for frame and channel modules
2019-09-29 10:22:02 +08:00
tigercl
9fed1667bb
Merge pull request #2921 from emqx/ct-metrics
Add test cases for new/1, all/0 functions
2019-09-29 09:59:59 +08:00
Feng Lee
fcb1b83495 Rename the 'client_id' option to 'clientid' 2019-09-28 10:06:16 +08:00
Feng Lee
20ddd498fc Rename the 'client_id' field to 'clientid' 2019-09-24 17:06:25 +08:00
JianBo He
26e1d3bcef Fix emqx_cm_SUITE failed 2019-09-21 16:22:33 +08:00
terry-xiaoyu
18b401d5fc Fix testcases for new object field protocol 2019-09-21 13:50:18 +08:00
terry-xiaoyu
eb0826ef3f Fix testcases for new object field protocol 2019-09-21 12:37:08 +08:00
Feng Lee
d945ee4972 Add test cases for new/1, all/0 functions 2019-09-20 23:25:19 +08:00
Feng Lee
699fea4869 Sleep 100 milliseconds 2019-09-20 22:42:33 +08:00
tigercl
b72a82e50b
Merge pull request #2919 from emqx/fix-test-cases
Add 'unregister_channel/1' function and test cases
2019-09-20 19:57:47 +08:00
Feng Lee
d0a8086d73 Add 'unregister_channel/1' function and test cases 2019-09-20 19:42:59 +08:00
terry-xiaoyu
a108f292c2 Ensure expiry_interval expired in testcase 2019-09-20 19:26:56 +08:00
terry-xiaoyu
2c07fc310e Unload meck before testcase ends 2019-09-20 19:15:35 +08:00
terry-xiaoyu
3a39442a1c Update testcases for session module 2019-09-20 18:50:31 +08:00
zhouzb
fd455e57eb Fix the test case 't_mod_presence' 2019-09-20 18:38:28 +08:00
terry-xiaoyu
4d214fb6e2 Fix session not saved after maybe_resume_session 2019-09-20 18:28:44 +08:00
zhouzb
f0a1ffc3b1 Fix test case 2019-09-20 17:58:31 +08:00
Feng Lee
6aac73f51f Fix the test case 't_handle_disconnect' 2019-09-20 16:48:21 +08:00
terry-xiaoyu
b5c9def06a Add testcases for print and usage 2019-09-20 16:18:24 +08:00
Feng Lee
1a3261b186
Merge branch 'develop' into remove-protocol-module 2019-09-20 16:17:44 +08:00
zhouzb
24bfaa768d Call emqx_flapping:detect and generate alarm when flapping is detected 2019-09-20 15:01:51 +08:00
zhouzb
a9dd94b2b5 Improve mechanism of waiting for session to expire 2019-09-20 15:01:51 +08:00
Feng Lee
3202ed2392 Improve the 'channel' module and add more test cases
- Rename the 'Client' field to 'ClientInfo'
- Remove the 'expiry_interval' from session record
- Add more test cases for emqx_zone module
- Add more test cases for emqx_banned module
- Add more test cases for emqx_message module
- Remove 'sockname', 'conn_mod' fields from type 'client'
2019-09-20 14:38:16 +08:00
Feng Lee
81e2f47126 Add test cases for emqx_ctl module 2019-09-20 13:47:05 +08:00
Feng Lee
8ecc9ab88a Add test case 't_undefined_headers' 2019-09-19 11:53:29 +08:00
Feng Lee
65cb9dbf38 Add test cases for 'reason/1' 2019-09-19 11:16:13 +08:00
Feng Lee
3705f4f929 Rewrite the test cases for extended modules 2019-09-19 11:04:29 +08:00
Feng Lee
c067a43990 Update test cases 2019-09-19 06:06:25 +08:00
Feng Lee
ad7e0ae436 Use 'peerhost' to replace 'peername' 2019-09-18 19:44:28 +08:00