Thales Macedo Garitezi
7c4842e6e5
test: attempt to fix inter-suite flakiness
...
Ex:
https://github.com/emqx/emqx-enterprise/actions/runs/3124750818/jobs/5068407612#step:7:769
```
%%% undefined ==> end_per_suite: FAILED
%%% undefined ==> {{badmatch,{error,enoent}},
[{emqx_auth_mongo_SUITE,end_per_suite,1,
[{file,"/emqx/apps/emqx_auth_mongo/test/emqx_auth_mongo_SUITE.erl"},
{line,62}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1784}]},
{test_server,run_test_case_eval1,6,[{file,"test_server.erl"},{line,1381}]},
{test_server,run_test_case_eval,9,[{file,"test_server.erl"},{line,1225}]}]}
Testing lib.emqx_auth_mongo: TEST COMPLETE, 3 ok, 0 failed of 3 test cases
```
2022-09-26 08:57:53 -03:00
firest
04c52aa5f4
chore: update CHANGES-4.3.md
2022-09-26 18:00:04 +08:00
firest
1e00345777
chore(emqx_sn): bump version && update appup
2022-09-26 18:00:04 +08:00
firest
0a3c8d035c
fix(mqtt_sn): after receiving publish in `idle mode` the gateway may panic
...
the `emqx_sn_gateway` will return `{keep_state, Timeout}` when received publish in `idle mode`, this is an incorrect format of `gen_statem` state return result, this return will replace the `state data` by the `Timeout`, the fix is to change it to `{keep_state_and_data, Timeout}`
2022-09-26 17:59:35 +08:00
firest
5b14d7f709
test(mqtt_sn): improve test coverage of `emqx_sn_gateway`
2022-09-26 16:37:33 +08:00
Ivan Dyachkov
63817418d1
Merge pull request #9037 from emqx/build-refactor-reusable-steps-into-actions
...
build: refactor reusable steps into actions
2022-09-26 08:40:57 +02:00
Zaiming (Stone) Shi
9ca2004333
Merge pull request #9028 from emqx/sync-e43-psk-file
...
refactor(psk): create the ets table in supervisor process
2022-09-25 16:37:40 +02:00
Zaiming (Stone) Shi
0ac78734bd
build(update_appup.escript): allow external app non-semver
2022-09-25 14:19:53 +02:00
Thales Macedo Garitezi
dbf3a3cee7
Merge pull request #8994 from thalesmg/mongo-coverage-43
...
test: increase mongo integration test coverage (4.3)
2022-09-23 13:23:22 -03:00
Ivan Dyachkov
b74632b5ba
build: refactor reusable steps into actions
2022-09-23 15:46:22 +02:00
JianBo He
c05ce82933
refactor(psk): create the ets table in supervisor process
2022-09-23 11:16:31 +08:00
zhongwencool
92356b85f3
Merge pull request #9026 from zhongwencool/sync-back-from-e4.3-to-v4.3
...
chore: sync from release-e4.3
2022-09-23 07:41:02 +08:00
Thales Macedo Garitezi
f94c5ee40a
feat(auth_mongo): use `with_timeout` for `query`
2022-09-22 11:28:59 -03:00
Zaiming (Stone) Shi
6246fe3ff4
Merge pull request #9023 from savonarola/release-v43-retainer-sync-e43
...
chore(retainer): sync retainer from release-e43
2022-09-22 12:30:59 +02:00
zhongwencool
1379f39f26
chore: sync from release-e4.3
2022-09-22 18:02:39 +08:00
zhongwencool
8ad152de4b
Merge pull request #8875 from zhongwencool/invite-hooks
...
chore: add reboot_hook/shutdown_hook for enterprise
2022-09-22 17:55:42 +08:00
Ilya Averyanov
7a26aae27b
chore(retainer): sync retainer from release-e43
2022-09-22 12:42:21 +03:00
firest
502f3e8d5c
test(mqtt_sn): improve test coverage to 90%
2022-09-22 17:31:08 +08:00
zhongwencool
deca9cc395
chore: update changelog for delayed publish
2022-09-22 16:09:42 +08:00
zhongwencool
9642f25ea0
chore: update changelog
2022-09-22 15:12:31 +08:00
zhongwencool
27983e7df4
chore: update emqx.appup.src
2022-09-22 14:24:59 +08:00
zhongwencool
61d745a230
feat: add emqx_misc:ipv6_probe/2 function
2022-09-22 11:00:16 +08:00
zhongwencool
c2f1f1aab8
chore: rename on_xxx_hooks to on_xxx
2022-09-22 10:04:52 +08:00
zhongwencool
362c176d24
chore: update appup.src
2022-09-22 10:02:48 +08:00
zhongwencool
4635d52273
chore: add reboot_hook/shutdown_hook for enterprise
2022-09-22 10:02:00 +08:00
Thales Macedo Garitezi
90995069c6
chore(auth_mongo): bump appup
2022-09-21 14:46:17 -03:00
Thales Macedo Garitezi
a60763dfcf
test(mongo): attempt to improve test stability
2022-09-21 14:03:44 -03:00
Thales Macedo Garitezi
ea8f444bda
test(mongo): add more acl tests
...
With this commit, we reach 100 % coverage over `emqx_acl_mongo`.
2022-09-21 14:03:44 -03:00
Thales Macedo Garitezi
69659caaf8
test(mongo): add more coverage tests
...
reaching 100% coverage of `emqx_auth_mongo` with this.
2022-09-21 14:03:44 -03:00
Thales Macedo Garitezi
3f02c6b574
feat(mongo): add timeouts and more tests
2022-09-21 14:03:44 -03:00
Thales Macedo Garitezi
83fb479311
chore: port `pmap/nolink_apply` features from master
2022-09-21 14:03:44 -03:00
Zaiming (Stone) Shi
514519da33
docs: Add v4.3.22 in CHANGES-4.3.md
2022-09-21 13:23:26 +02:00
Zaiming (Stone) Shi
f0f50b3d3f
chore: fix CHANGES-4.3.md
2022-09-21 12:50:49 +02:00
Zaiming (Stone) Shi
66197f26d4
docs: update release note for v4.3.21
2022-09-21 12:35:12 +02:00
Zaiming (Stone) Shi
7c7d204da3
Merge pull request #9003 from zmstone/0917-add-release-script
...
build: add release cut script
2022-09-21 12:16:20 +02:00
Zaiming (Stone) Shi
9d00b5b0d6
build(update_appup): red color for error logs
2022-09-20 20:30:38 +02:00
Zaiming (Stone) Shi
097c9cbfa3
Merge pull request #9011 from zmstone/0919-docs-update-changelog
...
docs: update 4.3 changelog
2022-09-20 20:29:59 +02:00
Zaiming (Stone) Shi
9d99bf8b91
build: add release cut script
2022-09-20 20:20:35 +02:00
Thales Macedo Garitezi
1933954508
Merge pull request #9015 from thalesmg/ci-fix-coveralls-glob-pat
...
ci(coveralls): fix glob pattern to run coveralls after merge
2022-09-20 15:03:34 -03:00
Thales Macedo Garitezi
86028dae5a
ci(coveralls): fix glob pattern to run coveralls after merge
2022-09-20 14:24:53 -03:00
Thales Macedo Garitezi
fe0ba87fd0
fix: handle interpolation of unavailable info
2022-09-20 14:15:32 -03:00
Thales Macedo Garitezi
d3304d49b5
test: increase mongo integration test coverage (4.3)
2022-09-20 14:15:32 -03:00
Zaiming (Stone) Shi
f63d53e6f5
docs: update 4.3 changelog
2022-09-20 15:05:27 +02:00
William Yang
49d1fb2b99
Merge pull request #9007 from qzhuyan/perf/william/tls-buffer-defaults-2
...
perf(TLS): set default sndbuf and recbuf to 4K
2022-09-20 08:57:10 +02:00
William Yang
97fb8c1133
perf(TLS): set default sndbuf and recbuf to 4K
...
Without using default values, sockets will be opened with OS default
buffer sizes. OS default is set by linux aligning to the host memory
size that large memory has larger OS default.
Now more and more user run EMQX in container which has large OS memory
but the container max memory is limited by cgroup that could be very
small amount compared to the OS total memory size.
To eliminate uncertainty, it is better to have the default value set.
2022-09-19 18:53:43 +02:00
William Yang
91dd2fc97f
Merge pull request #9005 from qzhuyan/perf/william/tls-hibernate-after-idling
...
perf(TLS): new TLS listener option to hibernate proc after idling
2022-09-19 18:47:21 +02:00
Thales Macedo Garitezi
485fb5d4f0
Merge pull request #8966 from thalesmg/coveralls-test-report
...
ci: enable running test cases and cover for main-v4.x
2022-09-19 10:11:32 -03:00
William Yang
cdadc8ad44
chore: update appup src
2022-09-19 14:53:41 +02:00
William Yang
fae590b957
docs(TLS): update change log
2022-09-19 14:53:38 +02:00
William Yang
cb607f760a
perf(TLS): hibernate TLS process after 5s
2022-09-19 14:53:36 +02:00