tigercl
873a08dc94
Improve coverage for emqx_hooks, and add test case for emqx_mod_sup ( #1892 )
...
Improve coverage for emqx_hooks, and add test case for emqx_mod_sup
2018-10-19 16:21:43 +08:00
huangdan
73658b3953
Merged emqx_misc_SUITE to emqx_misc_tests ( #1890 )
...
* Merged emqx_misc_SUITE to emqx_misc_tests
2018-10-19 09:46:25 +02:00
Gilbert
4c40f75f4b
Request & Response (broker and client) ( #1819 )
...
Add request & response support for CONNECT & CONNACK
Prior to this change, there is no validate and specified process for
Request-Response-Information and Response-Information
Also added basic Request/Response functionality to emqx_client implementation
2018-10-18 19:21:05 +02:00
spring2maz
4082f3ade2
Improve stats test
...
Before this change, the stats callback provided by emqx_broker_helper
was an anonymous function with module local context.
This commit changes it to a full fun M:F/A style callback for:
1. More robust to hot beam reload
2. Faster/smaller variable to construct
3. Easier test
2018-10-19 00:22:29 +08:00
HuangDan
cb85c5fea0
Upgrade the esockd library to v5.4.2
2018-09-29 18:59:35 +08:00
HuangDan
2a0bbd1c37
Fixed errors './cuttlefish: command not found' when running make app.config
2018-09-28 16:52:14 +08:00
spring2maz
8a8729f9ea
Make rebar3 xref work.
...
Fixed a bad call in emqx_mod_subscription module
also commented out dead code for now in emqx_config.erl
2018-09-25 22:09:13 +08:00
turtleDeng
925e98a3e5
Merge pull request #1823 from emqx/add-shared-sub-strategy
...
Add new shared subscription dispatch strategy
2018-09-22 19:30:08 +08:00
HuangDan
a46a1a2525
Upgrade the esockd library to v5.4.1
2018-09-22 18:34:18 +08:00
spring2maz
b35d37c92d
Add new shared subscription dispatch strategy
...
'random' was already there before this change
Added two new strategies: 'sticky' and 'round_robin'
'sticky' is made default as it is the cheapest
2018-09-22 10:50:34 +02:00
turtleDeng
8653732bae
Revert "Calculate the 1.5 keep alive time exactly"
2018-09-22 14:52:31 +08:00
周子博
b1d4ec750a
Remove the same test cases as emqx_keepalive
2018-09-20 17:58:54 +08:00
HuangDan
3822ff987b
Fix function args
...
Add test cases for emqx_pool module
2018-09-18 09:15:46 +08:00
spring2maz
35d209f364
Fix travis build
2018-09-14 00:52:03 +08:00
spring2maz
0c39a7620e
Rebar3 and erlang.mk dual support. ( #1806 )
...
* Rebar3 and erlang.mk dual support.
There was only erlang.mk support prior to this change.
The main reasons for this dual support are:
* Cover report upload can only be done by rebar3 in travis.ci
* We want to prepare for the future to build emqx releases using rebar3
* We do not want to stop supporting erlang.mk in one single step
* Add depencency version consistency check between erlang.mk and rebar.config
2018-09-09 21:51:42 +08:00
周子博
08bab7efa4
Fix bugs in test cases
2018-09-08 11:49:20 +08:00
spring2maz
3a94d7ddae
Generate a config file for testing
...
Prior to this change, the template file etc/emqx.conf is used
directly in testing, as a result, mustache style directories
are created e.g. `{{ platform_log_dir }}` which should have been
replaced with a config varialbe e.g. `log`
In this change, Makefile targets are added as `ct` dependency
to download bbmustach, load the template input, replace with
variableds defined in 'vars' file, finally to etc/gen.emqx.conf.
The direct usage of etc/emqx.conf in test code are replaced with
gen.emqx.conf
2018-09-07 07:04:04 +02:00
Feng Lee
5774ba542c
Rename the emqx_mqtt_properties SUITE to emqx_mqtt_props
2018-09-06 18:10:01 +08:00
Feng Lee
a4efcb5b2c
Update Makefile and README.md
2018-08-31 01:08:01 +08:00
Gilbert Wong
487fa6824d
add emqx_protocol test suites
2018-08-31 00:42:55 +08:00
Gilbert Wong
a7274b115d
ignore dup cases
2018-08-31 00:15:45 +08:00
Feng Lee
674b55e6e7
Merge pull request #1773 from tigercl/emqx30
...
Add emqx_banned test suite, and fix bugs in emqx_banned
2018-08-30 23:35:15 +08:00
周子博
83e11b6e39
Add emqx_banned test suite, and fix bugs in emqx_banned
2018-08-30 22:45:08 +08:00
Gilbert Wong
d0eaa51928
add emqx listeners suite
2018-08-30 22:16:31 +08:00
周子博
e6d0329663
Fix test suites bug, and add emqx_message ct to Makefile
2018-08-30 19:55:44 +08:00
周子博
69b285aa3f
Add test case for emqx_connection:attrs/1
2018-08-30 16:26:04 +08:00
周子博
c89f53f14d
Add session, mountpoint test suites
2018-08-30 14:43:14 +08:00
Feng Lee
649f59d4dc
Comment 'TEST_DEPS = emqx_ct_helplers'
2018-08-30 00:22:47 +08:00
Gilbert Wong
84f241522f
update frame suite and frame suite
2018-08-29 14:36:40 +08:00
terry-xiaoyu
c0fb5f3186
update gen_rpc
2018-08-27 19:28:54 +08:00
turtled
91eb79967c
Add syslog
2018-08-27 13:50:38 +08:00
HuangDan
e3fb147594
Fixed test case compilation error
2018-08-26 22:25:54 +08:00
Feng Lee
09b5535260
Depends on cowboy 2.4.0
2018-08-09 15:17:42 +08:00
turtled
4d9e03a803
Refactor websocket conn using cowboy
2018-08-08 18:36:14 +08:00
Feng Lee
1735786ffb
Remove pbkdf2 lager_syslog bcrypt deps
2018-07-18 23:30:16 +08:00
Feng Lee
b110a154ef
Upgrade header files for EMQ X 3.0
2018-07-18 14:27:11 +08:00
Feng Lee
1de94b6858
Register the default ACL module in emqx_access_control
2018-06-21 22:40:30 +08:00
Feng Lee
22350f9117
Depends on canel-lock library
2018-03-09 13:26:46 +08:00
Feng Lee
b144363f1e
Depends on jsx 2.9.0 and gproc 0.7.0
2018-03-03 09:07:45 +08:00
Feng Lee
fcb2ec8427
Merge the latest enterprise branch
2018-02-24 15:56:32 +08:00
Feng Lee
b63c34ab14
Merge the latest master branch
2018-02-24 11:27:09 +08:00
Feng Lee
06b8db1967
Merge branch 'emq24' into develop
2018-02-01 12:20:43 +08:00
Feng Lee
0dac7a2708
Version 2.3.5 - depends on the 'develop' branch of esockd, ekka and mochiweb
2018-02-01 12:18:49 +08:00
Feng Lee
4727acad14
Depends on esockd v5.2.1, mochiweb v4.2.2
2018-02-01 12:13:46 +08:00
Feng Lee
b9dcccd7f7
Version 2.3.4
2018-01-23 15:20:35 +08:00
Feng Lee
fde905d754
Merge branch 'emq24' into develop
2018-01-07 12:53:30 +08:00
Feng Lee
953a7628a3
Version 2.3.3
2017-12-28 11:34:29 +08:00
Feng Lee
6d2483d6c0
Merge develop branch to emq24
2017-12-26 22:17:38 +08:00
Feng Lee
013cc9705e
Depends on ekka v0.2.1
2017-12-26 22:15:09 +08:00
Feng Lee
bcec25092b
Merge version 2.3.2 to X edition
2017-12-26 21:09:24 +08:00