Commit Graph

3719 Commits

Author SHA1 Message Date
YoukiLin
3748cd434d Add test case for emqx_sys_mon (#2150) 2019-01-12 23:09:39 +08:00
Gilbert Wong
7aa46896df Fix typo 2019-01-11 16:41:20 +08:00
Gilbert Wong
ec03f8e1fa Fix the deliver packet bug and add test case 2019-01-11 16:41:20 +08:00
turtleDeng
a5f9466040 QoS0 msg support msgid (#2145)
* QoS0 msg support msgid

* Fix testcase
2019-01-11 11:47:10 +08:00
Feng Lee
5ccaaed34c Add 'next_events/1' and fix the 'process_incoming/3' function 2019-01-10 09:23:05 +08:00
Feng Lee
3e15ac0bbb Improve the design of 'emqx_client' module
Use '{next_event, cast, Packet}' to replace 'gen_statem:cast/2'
2019-01-10 09:23:05 +08:00
Feng Lee
30f32de13a Use map to replace 'state' record 2019-01-10 08:53:10 +08:00
Feng Lee
e882af9369 Use the new logger macros 2019-01-10 08:53:10 +08:00
Feng Lee
fe0f5333b3 Improve the pool design
- Move 'emqx_pool:start_link/0' to emqx_pool_sup module
- Use the new log macros
- Add more test cases
2019-01-10 08:49:58 +08:00
Gilbert
73ae8ad57f
Update erlang/otp version for ci (#2141) 2019-01-10 00:11:57 +08:00
terry-xiaoyu
de65e21270 Disable lager
This PR removes lager handlers and the `crash.log`, in case of some dependencies or plugins of emqx use lager.
2019-01-09 12:21:20 +08:00
Feng Lee
36a4eaec02 Fix the test case for 'emqx_router:print_routes/1' 2019-01-09 12:10:54 +08:00
Feng Lee
52241a7804 Add more test cases for code coverage 2019-01-09 11:57:22 +08:00
Feng Lee
d27c824ed8 Add test case for emqx_trie:empty/0 2019-01-09 11:57:22 +08:00
Feng Lee
4230a3c535 Optimize the trie match 2019-01-09 11:57:22 +08:00
Feng Lee
0c418581b2 Add emqx_trie:empty/0 and optimize match_routes/1 2019-01-09 11:57:22 +08:00
Frank
981d785c06 Fix data type of mountpoint from string to binary 2019-01-09 10:31:38 +08:00
Gilbert
dee88fb018 Fix mem cache bug (#2129) 2019-01-07 14:15:27 +08:00
Shawn
0d9929fdaa Logger level in one command (#2115)
* Refactor logger-level-in-one-command

* Update API
2019-01-07 11:40:54 +08:00
Shawn
cb93a356a0 Fix crash if peer closed the connection (#2120)
Prior to this fix, we'll get the following crash if we connected to
another emqx broker but got refused because of wrong username or password.
2019-01-07 11:40:05 +08:00
Gilbert
9f83544fce
Fix failed testcase (#2127)
* Fix failed test case
Prior to this change, terry-xiaoyu enhanced the cuttlefish to
support emqx enterprise edtion configuration entries. But it cause 6
test case failed.

* Fix dep-vsn-check
2019-01-06 19:53:01 +08:00
terry-xiaoyu
99f4283458 Update cuttlefish to v2.2.1 2019-01-04 22:55:58 +08:00
Feng Lee
d7254cdc7f Add more macros for logger 2019-01-04 17:30:27 +08:00
terry-xiaoyu
3b8eb41347 Remove the log header macro 2019-01-04 17:30:27 +08:00
Shawn
69954480bf
Hook args (#2119) 2019-01-03 13:54:31 +08:00
YoukiLin
78b3c375d8
Improving 'emqx_ws_connection' coverage (#2107) 2019-01-03 12:59:39 +08:00
Gilbert
9a2573d54b Refactor bridge (#2117)
* Refactor bridge
2019-01-03 09:10:43 +08:00
Gilbert
72791b569e
Improve app src (#2114)
* Add replayq in emqx.app.src

* Fix publish_readq_msg badmatch
2018-12-28 20:04:52 +08:00
Gilbert Wong
eed03ee297 Add replayq in emqx.app.src 2018-12-28 19:53:58 +08:00
turtleDeng
6a1ebe299a
Merge emqx32 to emqx30 (#2112) 2018-12-28 19:44:41 +08:00
Shawn
d854120023
Show plugin name if cannot start it (#2111) 2018-12-28 16:37:01 +08:00
Shawn
24ac3e78a2
Add +L vm args for reducing some memory (#2110) 2018-12-28 15:49:38 +08:00
Gilbert
1797aadbe7 Fix unsuback compat (#2102) 2018-12-22 18:47:38 +08:00
tigercl
edf0ded9f3 Fix bug that no update message expiry interval (#2101) 2018-12-22 11:32:22 +08:00
turtled
f7596b8131 Fix session shutdown bug 2018-12-21 22:44:58 +08:00
Feng Lee
bb45825e77 Inc deliver_stats, enqueue_stats with emqx_pd:update_counter/2 (#2100) 2018-12-21 18:31:04 +08:00
turtled
6f4d517350 Fix conflicts 2018-12-21 17:55:25 +08:00
Feng Lee
f31e7f8bde Replace put/2 with emqx_pd:update_counter/2 (#2098) 2018-12-21 17:47:49 +08:00
turtled
390fae1134 Rm clique dep 2018-12-21 17:09:15 +08:00
turtled
7d3357e0f3 Merge emqx32 2018-12-21 16:01:32 +08:00
YoukiLin
e949e8cbd8 Add format output for test print (#2076)
* Add formatted output for the test print
2018-12-21 15:42:42 +08:00
Feng Lee
10e5210581 Workaround ssl:setopts(SslSock, [{active, N}]) (#2095)
* Set '{active, true}' for SSL socket
2018-12-21 15:39:24 +08:00
tigercl
31bf01fd7a Fix bug in topic alias maximum (#2074)
* Fix bug in topic alias maximum
2018-12-21 14:01:21 +08:00
Feng Lee
3fec9cdf0a Try to simulate a '{ssl_passive, Sock}' message:( 2018-12-21 12:03:40 +08:00
turtleDeng
4f84a31d02
Update copyright (#2093) 2018-12-21 11:06:50 +08:00
Gilbert
bf7f10ecd1 Add will topic validation and acl check (#2075)
* Add will topic validation and acl check
2018-12-21 10:49:03 +08:00
Feng Lee
c93d0fb174 Add test cases for emqx_gc module 2018-12-21 10:28:33 +08:00
Feng Lee
367b717c40 Implement a new 'emqx_gc' module (#2090)
Update connection/session module to using the new emqx_gc API
2018-12-20 22:42:18 +08:00
Gilbert Wong
1007105b57 Delete metrics test in session test suite 2018-12-20 22:31:19 +08:00
turtled
b4833d6973 Fixed conflicts 2018-12-20 22:23:20 +08:00