Gilbert Wong
caedcee2de
fix listerners and access suites
...
Prior to this change, listeners test suites did not start cowboy which
is responsible for websocket connections. and access suites start
duplicated processes and these actions are wrong
This change fix the problem states above.
2018-09-08 09:33:37 +02:00
周子博
08bab7efa4
Fix bugs in test cases
2018-09-08 11:49:20 +08:00
turtleDeng
c0ddbba5db
Merge pull request #1794 from spring2maz/generate-temp-config-for-test
...
Generate a config file for testing
2018-09-07 21:50:35 +08:00
turtleDeng
0ec461484e
Merge pull request #1790 from emqx/emqx30-feng
...
Improve the Hooks' design
2018-09-07 21:46:30 +08:00
Gilbert
84e43c587d
Merge branch 'emqx30' into emqx30
2018-09-07 18:49:11 +08:00
turtleDeng
cb058143a5
Merge pull request #1792 from huangdan/master
...
Add test cases for mqtt5 connect packet
2018-09-07 18:03:37 +08:00
turtleDeng
ba176f2073
Merge pull request #1797 from terry-xiaoyu/banned_api_v2
...
Update for banned API
2018-09-07 17:50:30 +08:00
周子博
1c5615c957
Stop emqx_zone when emqx_mqtt_caps test over
2018-09-07 17:22:24 +08:00
terry-xiaoyu
dd8513ad35
Update for banned API
...
Use `mnesia:foldl` to traverse mnesia rather than `mnesia:first` and
`mnesia:next`, as a badarg exception would occur if the record was
deleted while travering the whole table.
2018-09-07 14:10:16 +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
304a24ca6a
Code Review: Update the zone module
...
1. Add force_reload/0 management API
2. Change the reload interval to 5 minutes
2018-09-07 10:26:14 +08:00
Gilbert Wong
765ab5ad7b
Add condition to handle when mqx_topic_alias do not exist
2018-09-06 19:09:29 +08:00
HuangDan
7c688a4839
Add test case for mqtt5 connect packet
2018-09-06 18:09:58 +08:00
Feng Lee
edf654727c
Rename emqx_mqtt_properties module to emqx_mqtt_props
2018-09-06 18:09:22 +08:00
Feng Lee
2a75105580
Improve the Hooks's design
2018-09-06 16:27:16 +08:00
Gilbert Wong
2f63b7a487
update broker suite for latest code
2018-08-31 20:21:28 +08:00
Gilbert Wong
14ba395c21
fix seesion and connectiong test suites
2018-08-31 19:15:17 +08:00
Gilbert Wong
748826bdee
update access sutie and access control
2018-08-31 01:16:54 +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
Gilbert Wong
809c516a2b
delete client testcases duplicated with emqx_mqtt_compat
2018-08-31 00:04:01 +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
f229c16752
fix listener test case
2018-08-30 22:21:13 +08:00
Gilbert Wong
d0eaa51928
add emqx listeners suite
2018-08-30 22:16:31 +08:00
Feng Lee
ed6ffeda91
Merge pull request #1770 from tigercl/emqx30
...
Fix bugs in emqx_message, emqx_mqueue ct, and add emqx_message ct to Makefile
2018-08-30 21:28:22 +08:00
Gilbert Wong
8fcfcfb860
update compact test cases except keepalive
2018-08-30 21:12:41 +08:00
周子博
e6d0329663
Fix test suites bug, and add emqx_message ct to Makefile
2018-08-30 19:55:44 +08:00
Feng Lee
1207ec1819
Merge pull request #1768 from tigercl/emqx30
...
Add test case for emqx_connection:attrs/1
2018-08-30 18:55:16 +08:00
Feng Lee
c49e5dfddc
Merge branch 'emqx30' into emqx30-feng
2018-08-30 18:42:29 +08:00
Feng Lee
c52f5a8525
Update the emqx_mqueue SUITE
2018-08-30 18:32:43 +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
Gilbert Wong
db76177228
add router clean function before each case
2018-08-30 13:48:54 +08:00
Gilbert Wong
e97c3a5c8c
update frame suite for latest emqx_frame
2018-08-30 13:44:09 +08:00
HuangDan
18eee0f1b0
Fixed Conflicting files
2018-08-30 10:53:35 +08:00
HuangDan
9b06589eab
Add SUBSCRIBER/PUBLISH Packet test cases
2018-08-30 10:35:04 +08:00
HuangDan
37c1570e94
Add mqtt connect tests cases
2018-08-30 10:35:04 +08:00
HuangDan
0fbf813ebf
Add mqtt connect tests cases
2018-08-30 10:35:04 +08:00
Feng Lee
b1dadf444f
Comment 'TEST_DEPS = emqx_ct_helplers'
2018-08-30 00:22:43 +08:00
周子博
f4330b8af3
Add some test suites and fix bugs
2018-08-29 19:19:22 +08:00
Gilbert Wong
47232d0281
update emqx_lib_suite and delete duplicate test case
2018-08-29 14:52:35 +08:00
Gilbert Wong
84f241522f
update frame suite and frame suite
2018-08-29 14:36:40 +08:00
Feng Lee
41d1f04659
Update copyright
2018-08-28 20:37:46 +08:00
Feng Lee
734de8bf85
Merge pull request #1755 from tigercl/emqx30
...
Add some test suites
2018-08-28 20:03:59 +08:00
周子博
545e80cd6b
Add some test suites
2018-08-28 17:53:03 +08:00
Gilbert
4a1eaaba98
Merge pull request #1754 from Gilbert-Wong/emqx30
...
Update emqx_topic and emqx router suite
2018-08-28 16:47:47 +08:00
Gilbert Wong
3e4b15fd6d
update emqx_router_SUITE
2018-08-28 13:03:54 +08:00
周子博
b59db00aeb
Add sm test suite, and fix bug in stats test suite
2018-08-28 09:42:17 +08:00
Gilbert Wong
9d22fcb413
update emqx_topic_SUITE
2018-08-28 09:20:32 +08:00